From 1ae5f692b57fa2bc432bf9ebd05fce7b30c2cac3 Mon Sep 17 00:00:00 2001 From: Nick Frasser Date: Mon, 22 Nov 2021 23:29:17 -0500 Subject: [PATCH] Improved eslint eqeqeq rule --- .eslintrc | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.eslintrc b/.eslintrc index f5455165..f9a2d2dd 100644 --- a/.eslintrc +++ b/.eslintrc @@ -14,8 +14,7 @@ }, "rules": { "curly": 2, - "eqeqeq": 2, - "no-eq-null": 2, + "eqeqeq": ["error", "smart"], "quotes": [2, "single", "avoid-escape"], "semi": 2, "no-unused-vars": [ "error", { "varsIgnorePattern": "should|expect" }],