diff options
author | Valentin Popov <info@valentineus.link> | 2020-02-13 17:27:45 +0300 |
---|---|---|
committer | Valentin Popov <info@valentineus.link> | 2020-02-13 17:27:45 +0300 |
commit | 50a06b02ba8548c633ba5c3f3e38f827419d4c45 (patch) | |
tree | 6649b921bf7dcc466772bb6932e284299de081b2 | |
parent | 268f0c28af2c139d28e900ec37ae86f90b7f71e8 (diff) | |
download | eslint-config-50a06b02ba8548c633ba5c3f3e38f827419d4c45.tar.xz eslint-config-50a06b02ba8548c633ba5c3f3e38f827419d4c45.zip |
feat(typescript): Rule "semi"
Signed-off-by: Valentin Popov <info@valentineus.link>
-rw-r--r-- | ROADMAP.md | 2 | ||||
-rw-r--r-- | src/rules/typescript/default.json | 10 |
2 files changed, 11 insertions, 1 deletions
@@ -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" ] } |