-
Notifications
You must be signed in to change notification settings - Fork 1
/
.flowconfig
44 lines (35 loc) · 1.02 KB
/
.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
42
43
44
[ignore]
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/.*
esproposal.class_static_fields=enable
esproposal.class_instance_fields=enable
esproposal.optional_chaining=enable
munge_underscores=true
suppress_type=$FlowIssue
suppress_type=$FlowFixMe
suppress_type=$FlowFixMeProps
suppress_type=$FlowFixMeState
well_formed_exports=true
types_first=true
experimental.abstract_locations=true
esproposal.optional_chaining=enable
[lints]
untyped-type-import=error
[strict]
deprecated-type
nonstrict-import
sketchy-null
unclear-type
unsafe-getters-setters
untyped-import
untyped-type-import
[declarations]
<PROJECT_ROOT>/node_modules/.*
.*/__generated__/.*