forked from bigslycat/tgapi
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc.flow.yml
62 lines (46 loc) · 973 Bytes
/
.eslintrc.flow.yml
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
57
58
59
60
61
62
rules:
flowtype/boolean-style:
- error
- boolean
flowtype/define-flow-type: error
flowtype/delimiter-dangle:
- error
- always-multiline
flowtype/generic-spacing:
- error
- never
flowtype/no-dupe-keys: error
flowtype/no-primitive-constructor-types: error
flowtype/no-weak-types:
- error
- any: true
Array: true
Object: true
Function: true
flowtype/object-type-delimiter:
- error
- comma
flowtype/require-valid-file-annotation:
- error
- never
- annotationStyle: block
flowtype/semi:
- error
- always
flowtype/space-after-type-colon:
- error
- always
- allowLineBreak: false
flowtype/space-before-generic-bracket:
- error
- never
flowtype/space-before-type-colon:
- error
- never
flowtype/type-id-match:
- error
- ^[A-Z]
flowtype/union-intersection-spacing:
- error
- always
flowtype/use-flow-type: error