Merge "Enable "no-case-declarations""

This commit is contained in:
Jenkins 2016-03-16 18:27:02 +00:00 committed by Gerrit Code Review
commit 0c708db1c8
1 changed files with 1 additions and 1 deletions

View File

@ -231,7 +231,7 @@ rules:
# disallow lexical declarations in case clauses
# http://eslint.org/docs/rules/no-case-declarations
no-case-declarations: 0
no-case-declarations: 2
# Disallow division operators explicitly at beginning of regular expression
# http://eslint.org/docs/rules/no-div-regex