From 50dc1d4fecfc25925cc2301f3fe90b270b0c39a0 Mon Sep 17 00:00:00 2001 From: Valentin Popov Date: Thu, 13 Feb 2020 15:12:49 +0400 Subject: feat(eslint): Rule "quotes" Signed-off-by: Valentin Popov --- ROADMAP.md | 2 +- src/rules/eslint.json | 8 ++++++++ 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/ROADMAP.md b/ROADMAP.md index 5428817..1e33e5d 100644 --- a/ROADMAP.md +++ b/ROADMAP.md @@ -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" ], -- cgit v1.2.3