summaryrefslogtreecommitdiff
path: root/src/rules
diff options
context:
space:
mode:
authorValentin Popov <info@valentineus.link>2020-02-14 00:48:36 +0300
committerValentin Popov <info@valentineus.link>2020-02-14 00:48:36 +0300
commitdce1b1ae89e9a59ab437df750bd5f3997c53f750 (patch)
treed7dcdec2061b233eccea39ce94188224262938d3 /src/rules
parentb8aef365abdd63501d65cc025115a3af71fbe303 (diff)
downloadeslint-config-dce1b1ae89e9a59ab437df750bd5f3997c53f750.tar.xz
eslint-config-dce1b1ae89e9a59ab437df750bd5f3997c53f750.zip
feat(eslint): Rule "no-self-compare"
Signed-off-by: Valentin Popov <info@valentineus.link>
Diffstat (limited to 'src/rules')
-rw-r--r--src/rules/default.json3
1 files changed, 3 insertions, 0 deletions
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"
],