forked from galenmaly/lighterpack
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc.js
31 lines (31 loc) · 912 Bytes
/
.eslintrc.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
module.exports = {
"env": {
"browser": true,
"commonjs": true,
"es6": true,
"node": true,
},
"extends": [
"airbnb-base",
"plugin:vue/recommended",
],
"parserOptions": {
"ecmaVersion": 2018,
},
"globals": {
"bus": true, // TODO: reduce reliance on bus and remove this from window.
},
"rules": {
"consistent-return": "off", // Investigate
"func-names": "off", // TODO
"gard-for-in": "off", // TODO
"indent": [ "error", 4 ], // Stylistic preference
"max-len": "off", // TODO
"no-shadow": "off", // TODO
"no-param-reassign": "off", // TODO
"no-plusplus": "off", // TODO
"prefer-destructuring": "off", // TODO
"vue/html-indent": ["error", 4], // Stylistic preference
"vue/max-attributes-per-line": "off", // Investigate
}
};