-
Notifications
You must be signed in to change notification settings - Fork 2
/
.eslintrc
45 lines (42 loc) · 814 Bytes
/
.eslintrc
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
{
"extends": [
"eslint:recommended",
"airbnb"
],
"parser": "babel-eslint",
"env": {
"browser": true,
"node": true,
"shared-node-browser": true
},
"ecmaFeatures": {
"jsx": true,
"classes": true
},
"globals": {
"__DEV__": true,
"it": true,
"describe": true,
"sinon": true,
"expect": true,
"afterEach": true,
"require": true,
"beforeEach": true,
"WA": true,
"window": true,
"before": true,
"should": true
},
"rules": {
"brace-style": ["error", "allman", { "allowSingleLine": true }],
"eol-last": 0,
"comma-dangle": ["error", "never"],
"max-len": ["warn", {
"code": 120,
"tabWidth": 2,
"ignoreComments": true,
"ignoreTrailingComments": true,
"ignoreUrls": true
}]
}
}