From 8cadf4a235b420887c314cb253b5460c96cb2191 Mon Sep 17 00:00:00 2001 From: Divlo Date: Sat, 19 Feb 2022 16:42:47 +0100 Subject: [PATCH] fix: `eqeqeq` ignore usage of `null` --- .eslintrc.json | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.eslintrc.json b/.eslintrc.json index 394fbc5..8954fc7 100644 --- a/.eslintrc.json +++ b/.eslintrc.json @@ -88,14 +88,13 @@ ], "valid-typeof": ["error", { "requireStringLiterals": true }], - "class-methods-use-this": "error", "consistent-this": "error", "default-param-last": "off", "@typescript-eslint/default-param-last": "error", "default-case-last": "error", "dot-notation": "off", "@typescript-eslint/dot-notation": ["error", { "allowKeywords": true }], - "eqeqeq": "error", + "eqeqeq": ["error", "always", { "null": "ignore" }], "grouped-accessor-pairs": "error", "new-cap": [ "error",