Skip to content

Commit df1afc9

Browse files
author
Riva Junior
committed
Fix lint changing parsing for ecma version 6
1 parent 85a274b commit df1afc9

File tree

1 file changed

+20
-16
lines changed

1 file changed

+20
-16
lines changed

.eslintrc.json

Lines changed: 20 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,5 @@
11
{
2-
"extends": [
3-
"standard",
4-
"plugin:vue/recommended"
5-
],
2+
"extends": ["standard", "plugin:vue/recommended"],
63
"env": {
74
"browser": true,
85
"amd": true
@@ -13,24 +10,31 @@
1310
"describe": "readonly"
1411
},
1512
"parserOptions": {
16-
"ecmaVersion": 5,
13+
"ecmaVersion": 6,
1714
"sourceType": "module"
1815
},
1916
"rules": {
2017
"arrow-parens": 0,
2118
"generator-star-spacing": 0,
22-
"no-trailing-spaces": [ 0, { "skipBlankLines": true } ],
23-
"vue/html-indent": ["error", 2, {
24-
"baseIndent": 0,
25-
"alignAttributesVertically": false
26-
}],
19+
"no-trailing-spaces": [0, { "skipBlankLines": true }],
20+
"vue/html-indent": [
21+
"error",
22+
2,
23+
{
24+
"baseIndent": 0,
25+
"alignAttributesVertically": false
26+
}
27+
],
2728
"vue/script-indent": ["error", 2],
28-
"vue/max-attributes-per-line": ["error", {
29-
"singleline": 10,
30-
"multiline": {
31-
"max": 10,
32-
"allowFirstLine": true
29+
"vue/max-attributes-per-line": [
30+
"error",
31+
{
32+
"singleline": 10,
33+
"multiline": {
34+
"max": 10,
35+
"allowFirstLine": true
36+
}
3337
}
34-
}]
38+
]
3539
}
3640
}

0 commit comments

Comments
 (0)