From 99f00817e0c27f51699505eaeac1951776b42d73 Mon Sep 17 00:00:00 2001 From: Valentin Popov Date: Wed, 19 Feb 2020 14:14:01 +0400 Subject: feat(typescript): no-extra-semi Signed-off-by: Valentin Popov --- ROADMAP.md | 2 +- src/rules/typescript/default.json | 6 ++++++ 2 files changed, 7 insertions(+), 1 deletion(-) 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" ], -- cgit v1.2.3