aboutsummaryrefslogtreecommitdiff
path: root/src/rules
diff options
context:
space:
mode:
authorValentin Popov <info@valentineus.link>2020-04-01 13:54:34 +0300
committerGitHub <noreply@github.com>2020-04-01 13:54:34 +0300
commitadf39edc06ca27c1179751601ad56ea7b89c9ab4 (patch)
treebf6aa599d2790272b8bd645744eadcd290ff654e /src/rules
parent3d805a1417feeeaf26aae602010ab8c03393cddf (diff)
parent43a293985cec5106e994742fead7b8c5f7afd5d8 (diff)
downloadeslint-config-adf39edc06ca27c1179751601ad56ea7b89c9ab4.tar.xz
eslint-config-adf39edc06ca27c1179751601ad56ea7b89c9ab4.zip
Merge pull request #3 from valentineus/20200401v0.0.15
20200401
Diffstat (limited to 'src/rules')
-rw-r--r--src/rules/typescript/default.json10
-rw-r--r--src/rules/vue/default.json6
-rw-r--r--src/rules/vue/overrides.json5
3 files changed, 16 insertions, 5 deletions
diff --git a/src/rules/typescript/default.json b/src/rules/typescript/default.json
index fe556bc..2b45050 100644
--- a/src/rules/typescript/default.json
+++ b/src/rules/typescript/default.json
@@ -222,7 +222,7 @@
"error",
{
"after": true,
- "before": true,
+ "before": false,
"overrides": {
"arrow": {
"after": true,
@@ -234,19 +234,19 @@
},
"parameter": {
"after": true,
- "before": true
+ "before": false
},
"property": {
"after": true,
- "before": true
+ "before": false
},
"returnType": {
"after": true,
- "before": true
+ "before": false
},
"variable": {
"after": true,
- "before": true
+ "before": false
}
}
}
diff --git a/src/rules/vue/default.json b/src/rules/vue/default.json
index 376b47c..145c8f2 100644
--- a/src/rules/vue/default.json
+++ b/src/rules/vue/default.json
@@ -76,6 +76,12 @@
"singleline": 8
}
],
+ "vue/no-multi-spaces": [
+ "error",
+ {
+ "ignoreProperties": false
+ }
+ ],
"vue/no-unused-vars": [
"error"
],
diff --git a/src/rules/vue/overrides.json b/src/rules/vue/overrides.json
new file mode 100644
index 0000000..8927171
--- /dev/null
+++ b/src/rules/vue/overrides.json
@@ -0,0 +1,5 @@
+{
+ "sort-keys": [
+ "off"
+ ]
+}