Skip to content

Commit

Permalink
fix: Relax logical-assignment-operators rule again
Browse files Browse the repository at this point in the history
We disable it for now
  • Loading branch information
jhnns committed Nov 8, 2023
1 parent 7e9f1cb commit 38c984f
Showing 1 changed file with 3 additions and 8 deletions.
11 changes: 3 additions & 8 deletions base.js
Original file line number Diff line number Diff line change
Expand Up @@ -150,14 +150,9 @@ module.exports = {
"init-declarations": "off", // http://eslint.org/docs/rules/init-declarations

"line-comment-position": "off", // http://eslint.org/docs/rules/line-comment-position
"logical-assignment-operators": [
"warn",
"always",
{
// We treat if statements as deliberate decision to branch the code path
enforceForIfStatements: false,
},
], // http://eslint.org/docs/rules/logical-assignment-operators
// We don't want to enforce these operators for now as they are hard to read
// This might change later though :)
"logical-assignment-operators": ["off", "always"], // http://eslint.org/docs/rules/logical-assignment-operators
"max-classes-per-file": "off", // https://eslint.org/docs/rules/max-classes-per-file
"max-depth": ["warn", 5], // http://eslint.org/docs/rules/max-depth
"max-lines": ["off", options["max-lines"]],
Expand Down

0 comments on commit 38c984f

Please sign in to comment.