2018-09-09 14:50:38 +00:00
|
|
|
module.exports = {
|
|
|
|
root: true,
|
|
|
|
env: {
|
|
|
|
browser: true,
|
|
|
|
node: true
|
|
|
|
},
|
|
|
|
parserOptions: {
|
2018-09-11 14:21:25 +00:00
|
|
|
parser: "babel-eslint"
|
2018-09-09 14:50:38 +00:00
|
|
|
},
|
|
|
|
extends: [
|
|
|
|
// https://github.com/vuejs/eslint-plugin-vue#priority-a-essential-error-prevention
|
|
|
|
// consider switching to `plugin:vue/strongly-recommended` or `plugin:vue/recommended` for stricter rules.
|
2018-09-11 14:21:25 +00:00
|
|
|
"plugin:vue/essential"
|
2018-09-09 14:50:38 +00:00
|
|
|
],
|
|
|
|
// required to lint *.vue files
|
2018-09-11 14:21:25 +00:00
|
|
|
plugins: ["vue"],
|
2018-09-09 14:50:38 +00:00
|
|
|
// add your custom rules here
|
|
|
|
rules: {}
|
2018-09-11 14:21:25 +00:00
|
|
|
};
|