Skip to content

Commit 27049c1

Browse files
committed
Enable logical-assignment-operators rule
1 parent 288a3ca commit 27049c1

File tree

1 file changed

+7
-10
lines changed

1 file changed

+7
-10
lines changed

index.js

Lines changed: 7 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -379,16 +379,13 @@ module.exports = {
379379
exceptAfterSingleLine: true,
380380
},
381381
],
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-
382+
'logical-assignment-operators': [
383+
'error',
384+
'always',
385+
{
386+
enforceForIfStatements: true,
387+
},
388+
],
392389
'max-depth': 'warn',
393390
'max-nested-callbacks': [
394391
'warn',

0 commit comments

Comments
 (0)