Enable "no-case-declarations"

This rule disallows lexical declarations in case statements.
http://eslint.org/docs/rules/no-case-declarations

Change-Id: Iaf209d0f5cd57da34f1ce5285badeb4ced6f9754
This commit is contained in:
Michael Krotscheck 2015-11-23 08:11:29 -08:00
parent c1f64a8684
commit ab48e08d61
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