Add eslint config.

This commit is contained in:
Lukáš Kucharczyk 2020-09-07 19:12:14 +02:00
parent e3d6d0c379
commit bdd3e52916
1 changed files with 20 additions and 1 deletions

View File

@ -22,5 +22,24 @@
"eslint-plugin-prettier": "^3.1.3",
"eslint-plugin-vue": "^7.0.0-0",
"prettier": "^1.19.1"
}
},
"eslintConfig": {
"root": true,
"env": {
"node": true
},
"extends": [
"plugin:vue/vue3-essential",
"eslint:recommended"
],
"parserOptions": {
"parser": "babel-eslint"
},
"rules": {}
},
"browserslist": [
"> 1%",
"last 2 versions",
"not dead"
]
}