overhaul
This commit is contained in:
38
.eslintrc.json
Normal file
38
.eslintrc.json
Normal file
@@ -0,0 +1,38 @@
|
||||
{
|
||||
"root": true,
|
||||
"env": {
|
||||
"node": true
|
||||
},
|
||||
"extends": [
|
||||
"plugin:vue/recommended",
|
||||
"@vue/standard"
|
||||
],
|
||||
"rules": {
|
||||
"vue/script-indent": [
|
||||
"error",
|
||||
2,
|
||||
{
|
||||
"baseIndent": 1,
|
||||
"switchCase": 0
|
||||
}
|
||||
],
|
||||
"vue/component-name-in-template-casing": [
|
||||
"error",
|
||||
"kebab-case"
|
||||
],
|
||||
"vue/max-attributes-per-line": [2, {
|
||||
"singleline": 3
|
||||
}]
|
||||
},
|
||||
"overrides": [
|
||||
{
|
||||
"files": ["*.vue"],
|
||||
"rules": {
|
||||
"indent": "off"
|
||||
}
|
||||
}
|
||||
],
|
||||
"parserOptions": {
|
||||
"parser": "babel-eslint"
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user