summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorValentin Popov <info@valentineus.link>2020-02-14 20:21:20 +0300
committerValentin Popov <info@valentineus.link>2020-02-14 20:21:20 +0300
commitbbf940aafeb564e6dc6023ea8022ba424e52cc05 (patch)
tree2e80d047af29b9f0dd25d542c7967cc1f9e8515c
parent7adf510a945db5459c57a9586f3a01c72a8465ba (diff)
downloadeslint-config-bbf940aafeb564e6dc6023ea8022ba424e52cc05.tar.xz
eslint-config-bbf940aafeb564e6dc6023ea8022ba424e52cc05.zip
feat(vue): space-infix-ops
Signed-off-by: Valentin Popov <info@valentineus.link>
-rw-r--r--ROADMAP.md2
-rw-r--r--src/rules/vue/default.json6
2 files changed, 7 insertions, 1 deletions
diff --git a/ROADMAP.md b/ROADMAP.md
index 8860109..802bfc2 100644
--- a/ROADMAP.md
+++ b/ROADMAP.md
@@ -593,7 +593,7 @@
- [ ] "return-in-computed-property"
- [X] "script-indent"
- [ ] "singleline-html-element-content-newline"
-- [ ] "space-infix-ops"
+- [X] "space-infix-ops"
- [ ] "space-unary-ops"
- [ ] "static-class-names-order"
- [ ] "this-in-template"
diff --git a/src/rules/vue/default.json b/src/rules/vue/default.json
index e0f09f3..fa55110 100644
--- a/src/rules/vue/default.json
+++ b/src/rules/vue/default.json
@@ -75,5 +75,11 @@
"baseIndent": 0,
"switchCase": 1
}
+ ],
+ "vue/space-infix-ops": [
+ "error",
+ {
+ "int32Hint": false
+ }
]
}