From 92c3e62135d7a654f5de8a59f251f8a8e4a80686 Mon Sep 17 00:00:00 2001 From: nirtamir2 Date: Wed, 8 Sep 2021 15:09:23 +0300 Subject: [PATCH] fix: `eqeqeq` rule deprecated option allow-null (#61) * fix: `eqeqeq` rule deprecated option allow-null https://eslint.org/docs/rules/eqeqeq#allow-null * Update packages/basic/index.js Co-authored-by: Anthony Fu --- packages/basic/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/basic/index.js b/packages/basic/index.js index e4a9a47..6fc79e7 100644 --- a/packages/basic/index.js +++ b/packages/basic/index.js @@ -145,7 +145,7 @@ module.exports = { 'block-scoped-var': 'error', 'consistent-return': 'off', 'complexity': ['off', 11], - 'eqeqeq': ['error', 'allow-null'], + 'eqeqeq': ['error', 'smart'], 'no-alert': 'warn', 'no-case-declarations': 'error', 'no-multi-spaces': 'error',