Skip to content

Commit 5f35252

Browse files
committed
Allow unary ++ and -- inside foreloops only
1 parent 49e8f0c commit 5f35252

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

.eslintrc.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,7 @@ module.exports = {
5252
"react/require-default-props": [2, { forbidDefaultForRequired: true }],
5353
"react/default-props-match-prop-types": [2],
5454
"react/static-property-placement": "off",
55+
"no-plusplus": [2, { allowForLoopAfterthoughts: true }],
5556
"capitalized-comments": [1, "never", { ignorePattern: "TODO" }],
5657
"spellcheck/spell-checker": [
5758
2,

0 commit comments

Comments
 (0)