2016-12-25 22:49:42 +08:00
|
|
|
{
|
|
|
|
"root": true,
|
|
|
|
"parserOptions": {
|
2017-09-02 21:10:14 +08:00
|
|
|
"ecmaFeatures": {
|
|
|
|
"experimentalObjectRestSpread": true
|
|
|
|
},
|
2016-12-25 22:49:42 +08:00
|
|
|
"ecmaVersion": 6,
|
|
|
|
"sourceType": "module"
|
|
|
|
},
|
|
|
|
"env": {
|
2017-09-27 20:46:42 +08:00
|
|
|
"browser": true,
|
2018-02-26 15:23:15 +08:00
|
|
|
"commonjs": true,
|
2017-09-27 20:46:42 +08:00
|
|
|
"es6": true
|
2016-12-25 22:49:42 +08:00
|
|
|
},
|
|
|
|
"extends": "eslint:recommended",
|
2017-09-02 21:10:14 +08:00
|
|
|
"plugins": ["vue"],
|
2016-12-25 22:49:42 +08:00
|
|
|
"rules": {
|
|
|
|
"indent": ["error", 4, { "SwitchCase": 1 }],
|
|
|
|
"quotes": ["error", "single"],
|
|
|
|
"semi": ["error", "always"],
|
2017-09-02 21:10:14 +08:00
|
|
|
"vue/jsx-uses-vars": 2,
|
2016-12-27 12:00:45 +08:00
|
|
|
"no-console": ["error"]
|
2016-12-25 22:49:42 +08:00
|
|
|
}
|
|
|
|
}
|