Skip to content

Commit c87b73a

Browse files
committed
Update eslint rules
1 parent dd34c0b commit c87b73a

File tree

2 files changed

+2
-26
lines changed

2 files changed

+2
-26
lines changed

.eslintrc.json

Lines changed: 1 addition & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"extends": ["standard", "plugin:vue/recommended"],
2+
"extends": ["standard"],
33
"env": {
44
"browser": true,
55
"amd": true
@@ -12,29 +12,5 @@
1212
"parserOptions": {
1313
"ecmaVersion": 2018,
1414
"sourceType": "module"
15-
},
16-
"rules": {
17-
"arrow-parens": 0,
18-
"generator-star-spacing": 0,
19-
"no-trailing-spaces": [0, { "skipBlankLines": true }],
20-
"vue/html-indent": [
21-
"error",
22-
2,
23-
{
24-
"baseIndent": 0,
25-
"alignAttributesVertically": false
26-
}
27-
],
28-
"vue/script-indent": ["error", 2],
29-
"vue/max-attributes-per-line": [
30-
"error",
31-
{
32-
"singleline": 10,
33-
"multiline": {
34-
"max": 10,
35-
"allowFirstLine": true
36-
}
37-
}
38-
]
3915
}
4016
}

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
"dist"
99
],
1010
"scripts": {
11-
"lint": "eslint --fix src --ext .js,.vue",
11+
"lint": "eslint --fix src --ext .js",
1212
"build": "rollup --config ./scripts/rollup.production.js",
1313
"dev": "rollup --config ./scripts/rollup.development.js --watch"
1414
},

0 commit comments

Comments
 (0)