diff options
author | Valentin Popov <info@valentineus.link> | 2020-02-13 14:12:49 +0300 |
---|---|---|
committer | Valentin Popov <info@valentineus.link> | 2020-02-13 14:12:49 +0300 |
commit | 50dc1d4fecfc25925cc2301f3fe90b270b0c39a0 (patch) | |
tree | 2d56faa7058e9a559a73f82396472ab6a56590f6 | |
parent | b47b3caba54c7594ab4f72643b59ff0111baba07 (diff) | |
download | eslint-config-50dc1d4fecfc25925cc2301f3fe90b270b0c39a0.tar.xz eslint-config-50dc1d4fecfc25925cc2301f3fe90b270b0c39a0.zip |
feat(eslint): Rule "quotes"
Signed-off-by: Valentin Popov <info@valentineus.link>
-rw-r--r-- | ROADMAP.md | 2 | ||||
-rw-r--r-- | src/rules/eslint.json | 8 |
2 files changed, 9 insertions, 1 deletions
@@ -246,7 +246,7 @@ - [ ] "prefer-spread" - [ ] "prefer-template" - [X] "quote-props" -- [ ] "quotes" +- [X] "quotes" - [ ] "radix" - [ ] "require-atomic-updates" - [ ] "require-await" diff --git a/src/rules/eslint.json b/src/rules/eslint.json index a3ec9cd..1a79eb6 100644 --- a/src/rules/eslint.json +++ b/src/rules/eslint.json @@ -72,6 +72,14 @@ "unnecessary": true } ], + "quotes": [ + "error", + "double", + { + "allowTemplateLiterals": false, + "avoidEscape": false + } + ], "require-jsdoc": [ "off" ], |