Skip to content

Commit d892cc9

Browse files
author
Wooram Jun
committed
[eslint config] [base] Update a deprecated option
1 parent b7aabb9 commit d892cc9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ module.exports = {
3737

3838
// require the use of === and !==
3939
// http://eslint.org/docs/rules/eqeqeq
40-
eqeqeq: ['error', 'allow-null'],
40+
eqeqeq: ['error', 'always', { null: 'ignore' }],
4141

4242
// make sure for-in loops have an if statement
4343
'guard-for-in': 'error',

0 commit comments

Comments
 (0)