forked from facebook/relay
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.flowconfig
41 lines (32 loc) · 895 Bytes
/
.flowconfig
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
[ignore]
<PROJECT_ROOT>/dist/.*
<PROJECT_ROOT>/compiler/.*
[options]
module.system=haste
module.system.haste.use_name_reducers=true
# get basename
module.system.haste.name_reducers='^.*/\([a-zA-Z0-9$_.-]+\.js\(\.flow\)?\)$' -> '\1'
# strip .js or .js.flow suffix
module.system.haste.name_reducers='^\(.*\)\.js\(\.flow\)?$' -> '\1'
module.system.haste.paths.excludes=.*/__tests__/.*
module.system.haste.paths.excludes=.*/__mocks__/.*
module.system.haste.paths.includes=<PROJECT_ROOT>/node_modules/fbjs/lib/.*
munge_underscores=true
suppress_type=$FlowIssue
suppress_type=$FlowFixMe
suppress_type=$FlowFixMeProps
suppress_type=$FlowFixMeState
format.bracket_spacing=false
experimental.abstract_locations=true
[lints]
untyped-type-import=error
[strict]
deprecated-type
nonstrict-import
sketchy-null
unclear-type
unsafe-getters-setters
untyped-import
untyped-type-import
[version]
^0.165.0