This repository has been archived by the owner on Jul 9, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 69
/
.eslintrc.js
55 lines (55 loc) · 1.46 KB
/
.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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
module.exports = {
"root": true,
"extends": "airbnb-base",
"env": {
"es6": true,
"browser": false,
"node": true
},
"rules": {
"arrow-body-style": 1,
"arrow-parens": [1, "as-needed"],
"comma-dangle": 0,
"curly": [2, "multi-line"],
"eol-last": 0,
"func-names": 0,
"import/newline-after-import": 0,
"indent": [2, 4, {
"SwitchCase": 1
}],
"linebreak-style": 0,
"max-len": [1, {
"tabWidth": 4,
"code": 120,
"comments": 100
}],
"no-bitwise": 0,
"no-continue": 0,
"no-else-return": 0,
"no-mixed-operators": 0,
"no-param-reassign": 0,
"no-plusplus": 0,
"no-prototype-builtins": 0,
"no-restricted-properties": 0,
"no-restricted-syntax": [2,
"LabeledStatement",
"WithStatement"
],
"no-shadow": 1,
"no-use-before-define": 1,
"no-var": 0,
"object-shorthand": [2, "consistent"],
"one-var": 0,
"prefer-template": 0,
"quote-props": [1, "consistent"],
"quotes": [2, "single"],
"space-before-function-paren": [2, "never"],
"strict": 0,
"valid-jsdoc": [2, {
"requireReturn": false,
"requireParamDescription": false,
"requireReturnDescription": false
}],
"vars-on-top": 0
}
};