Browse Source

Merge "Enable "no-case-declarations""

Jenkins 3 years ago
parent
commit
0c708db1c8
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      .eslintrc

+ 1
- 1
.eslintrc View File

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

Loading…
Cancel
Save