aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorValentin Popov <info@valentineus.link>2020-02-19 13:15:48 +0300
committerValentin Popov <info@valentineus.link>2020-02-19 13:15:48 +0300
commit9ea945c950d2c99261182e6771c09ae0e4aef53e (patch)
tree64b2e3455967eea1c19fe39460715fb8d6a1d32a /src
parent99f00817e0c27f51699505eaeac1951776b42d73 (diff)
downloadeslint-config-9ea945c950d2c99261182e6771c09ae0e4aef53e.tar.xz
eslint-config-9ea945c950d2c99261182e6771c09ae0e4aef53e.zip
feat(eslint): jsx-quotes
Signed-off-by: Valentin Popov <info@valentineus.link>
Diffstat (limited to 'src')
-rw-r--r--src/rules/javascript/default.json16
1 files changed, 10 insertions, 6 deletions
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"
],