We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
logical-assignment-operators
1 parent 288a3ca commit 27049c1Copy full SHA for 27049c1
index.js
@@ -379,16 +379,13 @@ module.exports = {
379
exceptAfterSingleLine: true,
380
},
381
],
382
-
383
- // TODO: Enable this again when targeting Node.js 16.
384
- // 'logical-assignment-operators': [
385
- // 'error',
386
- // 'always',
387
- // {
388
- // enforceForIfStatements: true,
389
- // },
390
- // ],
391
+ 'logical-assignment-operators': [
+ 'error',
+ 'always',
+ {
+ enforceForIfStatements: true,
+ },
+ ],
392
'max-depth': 'warn',
393
'max-nested-callbacks': [
394
'warn',
0 commit comments