summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ROADMAP.md2
-rw-r--r--src/rules/default.json3
2 files changed, 4 insertions, 1 deletions
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"
],