forked from lance-gg/lance
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.eslintrc.js
30 lines (29 loc) · 819 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
module.exports = {
"extends": "google",
"env": {
"browser": true,
"node": true,
"mocha": true
},
"installedESLint": true,
"parserOptions": {
"ecmaVersion": 6
},
"rules": {
"arrow-parens": "off",
"brace-style": ["error", "1tbs", { "allowSingleLine": true }],
"comma-dangle": "off",
"quotes": ["error", "single"],
"guard-for-in": "off",
"indent": ["error", 4],
"linebreak-style": ["error", "unix"],
"max-len": "off",
"max-statements-per-line": ["error", { "max": 2 }],
"no-alert": "off",
"no-console": "off",
"no-warning-comments": "off",
"object-curly-spacing": ["error", "always"],
"padded-blocks": "off",
"require-jsdoc": "off"
}
};