Skip to content

Commit 5df5652

Browse files
committed
Add ESLint rule to forbid parameter reassignment
1 parent cca1638 commit 5df5652

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

eslint.config.mjs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -139,6 +139,7 @@ export default [
139139
'n/prefer-node-protocol': 'error',
140140
'unicorn/consistent-function-scoping': 'error',
141141
curly: 'error',
142+
'line-comment-position': ['error', { position: 'above' }],
142143
'no-await-in-loop': 'error',
143144
'no-control-regex': 'error',
144145
'no-empty': ['error', { allowEmptyCatch: true }],

0 commit comments

Comments
 (0)