Skip to content

Commit

Permalink
tools: enable no-redeclare rule for linter
Browse files Browse the repository at this point in the history
PR-URL: nodejs#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]>
  • Loading branch information
Trott authored and Michael Scovetta committed Apr 2, 2016
1 parent f7f9917 commit a5f6593
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .eslintrc
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,8 @@ rules:
# list: https:/eslint/eslint/tree/master/docs/rules#best-practices
## require falls through comment on switch-case
no-fallthrough: 2
## disallow declaring the same variable more than once
no-redeclare: 2

# Stylistic Issues
# list: https:/eslint/eslint/tree/master/docs/rules#stylistic-issues
Expand Down

0 comments on commit a5f6593

Please sign in to comment.