aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorValentin Popov <info@valentineus.link>2020-02-14 12:15:09 +0300
committerValentin Popov <info@valentineus.link>2020-02-14 12:15:09 +0300
commit22795371c9963ef7aebdadd120a25f08fea54093 (patch)
treeb7b0a39a8c9be413901a004cf0a6e1371db9152c /src
parent18f0fc8ed1479ba8bef8cb7cd76527cf13670f37 (diff)
downloadeslint-config-22795371c9963ef7aebdadd120a25f08fea54093.tar.xz
eslint-config-22795371c9963ef7aebdadd120a25f08fea54093.zip
feat(vue): Rule "script-indent"
Signed-off-by: Valentin Popov <info@valentineus.link>
Diffstat (limited to 'src')
-rw-r--r--src/rules/vue/default.json11
1 files changed, 10 insertions, 1 deletions
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
+ }
+ ]
+}