add some eslint-config - works fine for js now, reindent main
This commit is contained in:
23
.eslintrc
23
.eslintrc
@@ -1,8 +1,23 @@
|
||||
{
|
||||
"parser": "babel-eslint",
|
||||
"rules": {
|
||||
"parserOptions": {
|
||||
"parser": "babel-eslint",
|
||||
"ecmaVersion": 6,
|
||||
"sourceType": "module",
|
||||
"impliedStrict": true
|
||||
},
|
||||
"env": {
|
||||
"browser": true,
|
||||
"es6": true
|
||||
},
|
||||
"plugins": [
|
||||
"html"
|
||||
]
|
||||
"html",
|
||||
],
|
||||
extends: [
|
||||
"eslint:recommended",
|
||||
"plugin:vue/recommended"
|
||||
],
|
||||
"rules": {
|
||||
"indent": ["error", 4],
|
||||
"no-console": 0
|
||||
},
|
||||
}
|
||||
Reference in New Issue
Block a user