diff options
author | Valentin Popov <info@valentineus.link> | 2020-02-14 00:48:36 +0300 |
---|---|---|
committer | Valentin Popov <info@valentineus.link> | 2020-02-14 00:48:36 +0300 |
commit | dce1b1ae89e9a59ab437df750bd5f3997c53f750 (patch) | |
tree | d7dcdec2061b233eccea39ce94188224262938d3 | |
parent | b8aef365abdd63501d65cc025115a3af71fbe303 (diff) | |
download | eslint-config-dce1b1ae89e9a59ab437df750bd5f3997c53f750.tar.xz eslint-config-dce1b1ae89e9a59ab437df750bd5f3997c53f750.zip |
feat(eslint): Rule "no-self-compare"
Signed-off-by: Valentin Popov <info@valentineus.link>
-rw-r--r-- | ROADMAP.md | 2 | ||||
-rw-r--r-- | src/rules/default.json | 3 |
2 files changed, 4 insertions, 1 deletions
@@ -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" ], |