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 75a908a commit 7dbb7b1Copy full SHA for 7dbb7b1
packages/eslint-config-airbnb-base/rules/style.js
@@ -191,6 +191,13 @@ module.exports = {
191
after: 'always',
192
}],
193
194
+ // Require or disallow logical assignment logical operator shorthand
195
+ // https://eslint.org/docs/latest/rules/logical-assignment-operators
196
+ // TODO, semver-major: enable
197
+ 'logical-assignment-operators': ['off', 'always', {
198
+ enforceForIfStatements: true,
199
+ }],
200
+
201
// specify the maximum depth that blocks can be nested
202
'max-depth': ['off', 4],
203
0 commit comments