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