From 50a06b02ba8548c633ba5c3f3e38f827419d4c45 Mon Sep 17 00:00:00 2001 From: Valentin Popov Date: Thu, 13 Feb 2020 18:27:45 +0400 Subject: feat(typescript): Rule "semi" Signed-off-by: Valentin Popov --- ROADMAP.md | 2 +- src/rules/typescript/default.json | 10 ++++++++++ 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/ROADMAP.md b/ROADMAP.md index 8d58bf3..c5a7488 100644 --- a/ROADMAP.md +++ b/ROADMAP.md @@ -361,7 +361,7 @@ - [ ] "restrict-plus-operands" - [ ] "restrict-template-expressions" - [ ] "return-await" -- [ ] "semi" +- [X] "semi" - [ ] "space-before-function-paren" - [ ] "strict-boolean-expressions" - [ ] "switch-exhaustiveness-check" diff --git a/src/rules/typescript/default.json b/src/rules/typescript/default.json index 216245a..4504f4e 100644 --- a/src/rules/typescript/default.json +++ b/src/rules/typescript/default.json @@ -7,7 +7,17 @@ "avoidEscape": false } ], + "@typescript-eslint/semi": [ + "error", + "always", + { + "omitLastInOneLineBlock": false + } + ], "quotes": [ "off" + ], + "semi": [ + "off" ] } -- cgit v1.2.3