-
Notifications
You must be signed in to change notification settings - Fork 6
/
.eslintrc
44 lines (44 loc) · 959 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
{
"parser" : "babel-eslint",
"extends": [
"standard",
"standard-react",
"plugin:flowtype/recommended",
"plugin:import/errors"
],
"env": {
"browser": true,
"node": true
},
"globals": {
"process": false,
"require": false,
"define": false,
"console": false,
"__DEV__": false
},
"rules": {
"generator-star-spacing": 0,
"max-len": [2, 120, 2],
"object-curly-spacing": [2, "always"],
"react/prop-types": [2, { ignore: ["children", "className"] }],
"no-duplicate-imports": 0,
"import/no-duplicates": 2,
"spaced-comment": [2, "always", { "line": { "markers": ["*package", "!", ","], "exceptions": ["////"] } }]
},
"plugins": [
"babel",
"react",
"promise",
"flowtype",
"import"
],
"settings": {
"import/ignore": [
"server/models/Game",
"server/models/Player",
"server/models/SayNo",
"server/models/CardRequest"
]
}
}