From dce1b1ae89e9a59ab437df750bd5f3997c53f750 Mon Sep 17 00:00:00 2001 From: Valentin Popov Date: Fri, 14 Feb 2020 01:48:36 +0400 Subject: feat(eslint): Rule "no-self-compare" Signed-off-by: Valentin Popov --- ROADMAP.md | 2 +- src/rules/default.json | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/ROADMAP.md b/ROADMAP.md index 40120f6..2e95c71 100644 --- a/ROADMAP.md +++ b/ROADMAP.md @@ -179,7 +179,7 @@ - [X] "no-return-await" - [X] "no-script-url" - [ ] "no-self-assign" -- [ ] "no-self-compare" +- [X] "no-self-compare" - [ ] "no-sequences" - [ ] "no-setter-return" - [ ] "no-shadow" diff --git a/src/rules/default.json b/src/rules/default.json index 9913249..a9c99db 100644 --- a/src/rules/default.json +++ b/src/rules/default.json @@ -314,6 +314,9 @@ "no-script-url": [ "error" ], + "no-self-compare": [ + "error" + ], "no-spaced-func": [ "off" ], -- cgit v1.2.3