forked from postlight/lux
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.eslintrc.json
56 lines (56 loc) · 1.14 KB
/
.eslintrc.json
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
56
{
"parser": "babel-eslint",
"plugins": ["flowtype"],
"extends": "eslint:recommended",
"env": {
"node": true
},
"globals": {
"T": true,
"Map": true,
"Set": true,
"Proxy": true,
"Promise": true,
"Reflect": true,
"WeakMap": true,
"WeakSet": true,
"Iterable": true
},
"settings": {
"flowtype": {
"onlyFilesWithFlowAnnotation": true
}
},
"rules": {
"semi": ["error", "never"],
"strict": 0,
"max-len": ["error", 80],
"arrow-parens": 0,
"comma-dangle": [2, "only-multiline"],
"global-require": 0,
"no-underscore-dangle": 0,
"class-methods-use-this": 0,
"no-irregular-whitespace": 0,
"no-restricted-syntax": [
"error",
"ForInStatement",
"LabeledStatement",
"WithStatement"
],
"import/order": ["warn", {
"groups": [
"builtin",
"external",
"internal",
"parent",
"sibling",
"index"
],
"newlines-between": "always"
}],
"import/extensions": 0,
"import/no-named-default": 0,
"import/no-dynamic-require": 0,
"import/prefer-default-export": 0
}
}