From 3f826d2ecbc02339d9f128d8f5c867c07354ecb4 Mon Sep 17 00:00:00 2001 From: Valentin Popov Date: Thu, 13 Feb 2020 14:51:40 +0400 Subject: feat(eslint): Rule "no-negated-in-lhs" Signed-off-by: Valentin Popov --- ROADMAP.md | 2 +- src/rules/eslint.json | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/ROADMAP.md b/ROADMAP.md index 8ad90cf..79584f5 100644 --- a/ROADMAP.md +++ b/ROADMAP.md @@ -149,7 +149,7 @@ - [ ] "no-multiple-empty-lines" - [X] "no-native-reassign" - [ ] "no-negated-condition" -- [ ] "no-negated-in-lhs" +- [X] "no-negated-in-lhs" - [ ] "no-nested-ternary" - [ ] "no-new" - [ ] "no-new-func" diff --git a/src/rules/eslint.json b/src/rules/eslint.json index fe86c73..7ba01cb 100644 --- a/src/rules/eslint.json +++ b/src/rules/eslint.json @@ -21,6 +21,9 @@ "no-native-reassign": [ "off" ], + "no-negated-in-lhs": [ + "off" + ], "no-tabs": [ "error", { -- cgit v1.2.3