From ec62be2724e975b6aee2eb97e5f9bb11143c0a34 Mon Sep 17 00:00:00 2001 From: XhmikosR Date: Fri, 8 Oct 2021 12:47:55 +0300 Subject: [PATCH] ESLint: disable `no-negated-condition` rule (#35137) --- .eslintrc.json | 1 + site/.eslintrc.json | 1 + 2 files changed, 2 insertions(+) diff --git a/.eslintrc.json b/.eslintrc.json index 1e45281a2753..d8e83a8d2eec 100644 --- a/.eslintrc.json +++ b/.eslintrc.json @@ -37,6 +37,7 @@ } ], "no-console": "error", + "no-negated-condition": "off", "object-curly-spacing": [ "error", "always" diff --git a/site/.eslintrc.json b/site/.eslintrc.json index 656465c39e98..56b3b4040493 100644 --- a/site/.eslintrc.json +++ b/site/.eslintrc.json @@ -28,6 +28,7 @@ "error", "always-multiline" ], + "no-negated-condition": "off", "no-new": "off", "no-var": "off", "object-curly-spacing": [