summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ROADMAP.md2
-rw-r--r--src/rules/vue/default.json11
2 files changed, 11 insertions, 2 deletions
diff --git a/ROADMAP.md b/ROADMAP.md
index c6fb1a7..170ad4f 100644
--- a/ROADMAP.md
+++ b/ROADMAP.md
@@ -591,7 +591,7 @@
- [ ] "require-v-for-key"
- [ ] "require-valid-default-prop"
- [ ] "return-in-computed-property"
-- [ ] "script-indent"
+- [X] "script-indent"
- [ ] "singleline-html-element-content-newline"
- [ ] "space-infix-ops"
- [ ] "space-unary-ops"
diff --git a/src/rules/vue/default.json b/src/rules/vue/default.json
index 0967ef4..7d8c19a 100644
--- a/src/rules/vue/default.json
+++ b/src/rules/vue/default.json
@@ -1 +1,10 @@
-{}
+{
+ "vue/script-indent": [
+ "error",
+ "tab",
+ {
+ "baseIndent": 0,
+ "switchCase": 1
+ }
+ ]
+}