Skip to content

Commit b4995b6

Browse files
committed
[eslint config] [base] revert breaking part of airbnb#1420
I’ll re-enable it in the next major.
1 parent cdc1c4f commit b4995b6

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

packages/eslint-config-airbnb-base/rules/variables.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,8 @@ module.exports = {
1616
'no-label-var': 'error',
1717

1818
// disallow specific globals
19-
'no-restricted-globals': ['error'].concat(restrictedGlobals),
19+
// TODO: enable, semver-major
20+
'no-restricted-globals': ['off'].concat(restrictedGlobals),
2021

2122
// disallow declaration of variables already declared in the outer scope
2223
'no-shadow': 'error',

0 commit comments

Comments
 (0)