We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
s/no-case-declaration/no-case-declarations/g
1 parent bc6e817 commit d346268Copy full SHA for d346268
packages/eslint-config-airbnb/rules/best-practices.js
@@ -25,7 +25,8 @@ module.exports = {
25
// disallow use of arguments.caller or arguments.callee
26
'no-caller': 2,
27
// disallow lexical declarations in case/default clauses
28
- 'no-case-declaration': 2,
+ // http://eslint.org/docs/rules/no-case-declarations.html
29
+ 'no-case-declarations': 2,
30
// disallow division operators explicitly at beginning of regular expression
31
'no-div-regex': 0,
32
// disallow else after a return in an if
0 commit comments