Skip to content

Commit

Permalink
Merge pull request #243 from magento-commerce/imported-fredden-magent…
Browse files Browse the repository at this point in the history
…o-coding-standard-361

[Imported] [eslint] Disallow useless constructs
  • Loading branch information
sidolov authored Sep 20, 2023
2 parents 153e14a + 241f932 commit dccf910
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions eslint/.eslintrc-magento
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,12 @@
}
],
"no-use-before-define": 2,
"no-useless-call": 2,
"no-useless-computed-key": 2,
"no-useless-constructor": 2,
"no-useless-escape": 2,
"no-useless-rename": 2,
"no-useless-return": 2,
"no-with": 2,
"one-var": [2, "always"],
"operator-assignment": [2, "always"],
Expand Down

0 comments on commit dccf910

Please sign in to comment.