forked from keybase/keybase-bot
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.eslintrc
43 lines (43 loc) · 1.36 KB
/
.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
{
"env": {
"es6": true
},
"parser": "babel-eslint",
"extends": ["standard"],
"parserOptions": {
"ecmaVersion": 6,
"sourceType": "module",
"ecmaFeatures": {
"jsx": true
}
},
"globals": {
},
"plugins": [
"babel", "flowtype"
],
"settings": {
},
"rules": {
"babel/flow-object-type": [1, "comma"],
"babel/func-params-comma-dangle": 0,
"comma-dangle": [2, "always-multiline"],
"flowtype/require-valid-file-annotation": [2, "always", {"annotationStyle": "line"}],
"flowtype/space-after-type-colon": [2, "always"],
"flowtype/space-before-generic-bracket": [2, "never"],
"flowtype/union-intersection-spacing": [2, "always"],
"flowtype/generic-spacing": [2, "never"],
"flowtype/valid-syntax": [2],
"flowtype/define-flow-type": 1,
"flowtype/use-flow-type": 1,
"flowtype/delimiter-dangle": [2, "always-multiline"],
"flowtype/no-dupe-keys": 2,
"flowtype/semi": [2, "never"],
"jsx-quotes": [2, "prefer-single"],
"no-duplicate-imports": 0,
"standard/array-bracket-even-spacing": [2, "never"],
"standard/computed-property-even-spacing": [2, "never"],
"standard/object-curly-even-spacing": [2, "never"],
"strict": [2, "global"]
}
}