iview/.eslintrc.json

25 lines
561 B
JSON
Raw Permalink Normal View History

2016-12-25 22:49:42 +08:00
{
"root": true,
"parserOptions": {
"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,
"commonjs": true,
2017-09-27 20:46:42 +08:00
"es6": true
2016-12-25 22:49:42 +08:00
},
"extends": "eslint:recommended",
"plugins": ["vue"],
2016-12-25 22:49:42 +08:00
"rules": {
"indent": ["error", 4, { "SwitchCase": 1 }],
"quotes": ["error", "single"],
"semi": ["error", "always"],
"vue/jsx-uses-vars": 2,
"no-console": ["error"]
2016-12-25 22:49:42 +08:00
}
}