From 268f0c28af2c139d28e900ec37ae86f90b7f71e8 Mon Sep 17 00:00:00 2001 From: Valentin Popov Date: Thu, 13 Feb 2020 18:24:16 +0400 Subject: feat(typescript): Rule "quotes" Signed-off-by: Valentin Popov --- ROADMAP.md | 2 +- src/rules/typescript/default.json | 14 +++++++++++++- 2 files changed, 14 insertions(+), 2 deletions(-) diff --git a/ROADMAP.md b/ROADMAP.md index a18b7c0..8d58bf3 100644 --- a/ROADMAP.md +++ b/ROADMAP.md @@ -355,7 +355,7 @@ - [ ] "prefer-regexp-exec" - [ ] "prefer-string-starts-ends-with" - [ ] "promise-function-async" -- [ ] "quotes" +- [X] "quotes" - [ ] "require-array-sort-compare" - [ ] "require-await" - [ ] "restrict-plus-operands" diff --git a/src/rules/typescript/default.json b/src/rules/typescript/default.json index 0967ef4..216245a 100644 --- a/src/rules/typescript/default.json +++ b/src/rules/typescript/default.json @@ -1 +1,13 @@ -{} +{ + "@typescript-eslint/quotes": [ + "error", + "double", + { + "allowTemplateLiterals": false, + "avoidEscape": false + } + ], + "quotes": [ + "off" + ] +} -- cgit v1.2.3