Skip to content

Commit 34f3967

Browse files
Trottjasnell
authored andcommitted
tools: enable no-redeclare rule for linter
PR-URL: #5047 Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: Roman Reiss <[email protected]> Reviewed-By: Michaël Zasso <[email protected]> Reviewed-By: James M Snell <[email protected]>
1 parent c14c12e commit 34f3967

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.eslintrc

+2
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,8 @@ rules:
4848
# list: https://github.com/eslint/eslint/tree/master/docs/rules#best-practices
4949
## require falls through comment on switch-case
5050
no-fallthrough: 2
51+
## disallow declaring the same variable more than once
52+
no-redeclare: 2
5153

5254
# Stylistic Issues
5355
# list: https://github.com/eslint/eslint/tree/master/docs/rules#stylistic-issues

0 commit comments

Comments
 (0)