From 9ea945c950d2c99261182e6771c09ae0e4aef53e Mon Sep 17 00:00:00 2001 From: Valentin Popov Date: Wed, 19 Feb 2020 14:15:48 +0400 Subject: feat(eslint): jsx-quotes Signed-off-by: Valentin Popov --- ROADMAP.md | 2 +- src/rules/javascript/default.json | 16 ++++++++++------ 2 files changed, 11 insertions(+), 7 deletions(-) diff --git a/ROADMAP.md b/ROADMAP.md index 53be5c7..0805894 100644 --- a/ROADMAP.md +++ b/ROADMAP.md @@ -53,7 +53,7 @@ - [X] "indent" - [X] "indent-legacy" - [ ] "init-declarations" -- [ ] "jsx-quotes" +- [X] "jsx-quotes" - [X] "key-spacing" - [X] "keyword-spacing" - [ ] "line-comment-position" diff --git a/src/rules/javascript/default.json b/src/rules/javascript/default.json index 2ff7b63..78bc025 100644 --- a/src/rules/javascript/default.json +++ b/src/rules/javascript/default.json @@ -121,6 +121,10 @@ "indent-legacy": [ "off" ], + "jsx-quotes": [ + "error", + "prefer-double" + ], "key-spacing": [ "error", { @@ -181,12 +185,6 @@ "tabWidth": 4 } ], - "no-param-reassign": [ - "warn", - { - "props": true - } - ], "max-lines": [ "off" ], @@ -343,6 +341,12 @@ "no-octal-escape": [ "error" ], + "no-param-reassign": [ + "warn", + { + "props": true + } + ], "no-path-concat": [ "error" ], -- cgit v1.2.3