Skip to content

Commit d346268

Browse files
ljharbgilbox
authored andcommitted
[eslint config] [fix] s/no-case-declaration/no-case-declarations/g (from airbnb#712)
1 parent bc6e817 commit d346268

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

packages/eslint-config-airbnb/rules/best-practices.js

+2-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,8 @@ module.exports = {
2525
// disallow use of arguments.caller or arguments.callee
2626
'no-caller': 2,
2727
// disallow lexical declarations in case/default clauses
28-
'no-case-declaration': 2,
28+
// http://eslint.org/docs/rules/no-case-declarations.html
29+
'no-case-declarations': 2,
2930
// disallow division operators explicitly at beginning of regular expression
3031
'no-div-regex': 0,
3132
// disallow else after a return in an if

0 commit comments

Comments
 (0)