Skip to content

Commit ffb7d6e

Browse files
committedNov 8, 2022
Disable logical-assignment-operators rule until we target Node.js 16
1 parent d61e4f0 commit ffb7d6e

File tree

1 file changed

+10
-7
lines changed

1 file changed

+10
-7
lines changed
 

‎index.js

+10-7
Original file line numberDiff line numberDiff line change
@@ -357,13 +357,16 @@ module.exports = {
357357
exceptAfterSingleLine: true,
358358
},
359359
],
360-
'logical-assignment-operators': [
361-
'error',
362-
'always',
363-
{
364-
enforceForIfStatements: true,
365-
},
366-
],
360+
361+
// TODO: Enable this again when targeting Node.js 16.
362+
// 'logical-assignment-operators': [
363+
// 'error',
364+
// 'always',
365+
// {
366+
// enforceForIfStatements: true,
367+
// },
368+
// ],
369+
367370
'max-depth': 'warn',
368371
'max-nested-callbacks': [
369372
'warn',

0 commit comments

Comments
 (0)
Please sign in to comment.