Skip to content

Commit ae1bdf3

Browse files
committed
🧹 chore: update ESLint JS rules
1 parent cbb6348 commit ae1bdf3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎eslint.config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,6 @@ const jsRules = {
4343
'sort-imports': 'off',
4444
'no-redeclare': 'off',
4545
'complexity': 'error',
46-
'no-plusplus': 'error',
4746
'no-iterator': 'error',
4847
'no-continue': 'error',
4948
'no-lonely-if': 'error',
@@ -115,6 +114,7 @@ const jsRules = {
115114
'no-sequences': ['error', { allowInParentheses: false }],
116115
'no-multi-assign': ['error', { ignoreNonDeclaration: true }],
117116
'no-empty-function': ['error', { allow: ['arrowFunctions'] }],
117+
'no-plusplus': ['error', { allowForLoopAfterthoughts: true }],
118118
'prefer-arrow-callback': ['error', { allowUnboundThis: true }],
119119
'func-style': ['error', 'declaration', { allowArrowFunctions: true }],
120120
'prefer-promise-reject-errors': ['error', { allowEmptyReject: true }],

0 commit comments

Comments
 (0)