Skip to content

Commit 6f1d928

Browse files
committed
[eslint config] [fix] s/no-case-declaration/no-case-declarations/g (from airbnb#712)
1 parent b6920af commit 6f1d928

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

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

Lines changed: 2 additions & 1 deletion
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)