forked from AJFunk/IUCN-Red-List
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.eslintrc.json
executable file
·48 lines (48 loc) · 881 Bytes
/
.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
{
"root": true,
"extends": "airbnb/base",
"parser": "babel-eslint",
"plugins": [
"flow-vars",
"flowtype"
],
"env": {
"es6": true,
"node": true,
"mocha": true
},
"globals": {
"expect": false,
"assert": false
},
"rules": {
"quotes": [2, "single"],
"curly": 2,
"semi": [2, "always"],
"flow-vars/define-flow-type": 2,
"flow-vars/use-flow-type": 2,
"flowtype/require-parameter-type": 2,
"flowtype/require-return-type": [
2,
"always",
{ "annotateUndefined": "always" }
],
"flowtype/space-after-type-colon": [
2,
"always"
],
"flowtype/space-before-type-colon": [
2,
"never"
],
"flowtype/type-id-match": [
2,
"^([A-Z][a-z0-9]+)+Type$"
]
},
"settings": {
"flowtype": {
"onlyFilesWithFlowAnnotation": false
}
}
}