aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorValentin Popov <info@valentineus.link>2020-02-19 13:14:01 +0300
committerValentin Popov <info@valentineus.link>2020-02-19 13:14:01 +0300
commit99f00817e0c27f51699505eaeac1951776b42d73 (patch)
tree5dfb52c33c5e7785c5b6fffe0116a4f3f06336d4
parent621602e88b756b9c2e716ade5baea7f44cfc31b8 (diff)
downloadeslint-config-99f00817e0c27f51699505eaeac1951776b42d73.tar.xz
eslint-config-99f00817e0c27f51699505eaeac1951776b42d73.zip
feat(typescript): no-extra-semi
Signed-off-by: Valentin Popov <info@valentineus.link>
-rw-r--r--ROADMAP.md2
-rw-r--r--src/rules/typescript/default.json6
2 files changed, 7 insertions, 1 deletions
diff --git a/ROADMAP.md b/ROADMAP.md
index 06b4cdc..53be5c7 100644
--- a/ROADMAP.md
+++ b/ROADMAP.md
@@ -413,7 +413,7 @@
- [X] "no-explicit-any"
- [ ] "no-extra-non-null-assertion"
- [ ] "no-extra-parens"
-- [ ] "no-extra-semi"
+- [X] "no-extra-semi"
- [ ] "no-extraneous-class"
- [ ] "no-floating-promises"
- [ ] "no-for-in-array"
diff --git a/src/rules/typescript/default.json b/src/rules/typescript/default.json
index c98552b..0c029f1 100644
--- a/src/rules/typescript/default.json
+++ b/src/rules/typescript/default.json
@@ -49,6 +49,9 @@
"ignoreRestArgs": false
}
],
+ "@typescript-eslint/no-extra-semi": [
+ "error"
+ ],
"@typescript-eslint/no-implied-eval": [
"error"
],
@@ -184,6 +187,9 @@
"indent": [
"off"
],
+ "no-extra-semi": [
+ "off"
+ ],
"no-implied-eval": [
"off"
],