Skip to content

Commit

Permalink
Update eslint rules
Browse files Browse the repository at this point in the history
  • Loading branch information
tangbc committed Apr 13, 2020
1 parent dd34c0b commit c87b73a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 26 deletions.
26 changes: 1 addition & 25 deletions .eslintrc.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"extends": ["standard", "plugin:vue/recommended"],
"extends": ["standard"],
"env": {
"browser": true,
"amd": true
Expand All @@ -12,29 +12,5 @@
"parserOptions": {
"ecmaVersion": 2018,
"sourceType": "module"
},
"rules": {
"arrow-parens": 0,
"generator-star-spacing": 0,
"no-trailing-spaces": [0, { "skipBlankLines": true }],
"vue/html-indent": [
"error",
2,
{
"baseIndent": 0,
"alignAttributesVertically": false
}
],
"vue/script-indent": ["error", 2],
"vue/max-attributes-per-line": [
"error",
{
"singleline": 10,
"multiline": {
"max": 10,
"allowFirstLine": true
}
}
]
}
}
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"dist"
],
"scripts": {
"lint": "eslint --fix src --ext .js,.vue",
"lint": "eslint --fix src --ext .js",
"build": "rollup --config ./scripts/rollup.production.js",
"dev": "rollup --config ./scripts/rollup.development.js --watch"
},
Expand Down

0 comments on commit c87b73a

Please sign in to comment.