summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorValentin Popov <info@valentineus.link>2020-02-14 12:17:35 +0300
committerValentin Popov <info@valentineus.link>2020-02-14 12:17:35 +0300
commit37337f9e0262334299c1b8f64c6c325e8a07e759 (patch)
tree75cad8a2eb73e89b6ab69859425a07e4c7dba945 /src
parent22795371c9963ef7aebdadd120a25f08fea54093 (diff)
downloadeslint-config-37337f9e0262334299c1b8f64c6c325e8a07e759.tar.xz
eslint-config-37337f9e0262334299c1b8f64c6c325e8a07e759.zip
feat(vue): Rule "html-indent"
Signed-off-by: Valentin Popov <info@valentineus.link>
Diffstat (limited to 'src')
-rw-r--r--src/rules/vue/default.json10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/rules/vue/default.json b/src/rules/vue/default.json
index 7d8c19a..e7e45eb 100644
--- a/src/rules/vue/default.json
+++ b/src/rules/vue/default.json
@@ -1,4 +1,14 @@
{
+ "vue/html-indent": [
+ "error",
+ "tab",
+ {
+ "alignAttributesVertically": true,
+ "attribute": 1,
+ "baseIndent": 1,
+ "closeBracket": 0
+ }
+ ],
"vue/script-indent": [
"error",
"tab",