forked from facebook/relay
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.flowconfig
47 lines (37 loc) · 1.08 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
45
46
47
[ignore]
<PROJECT_ROOT>/dist/.*
<PROJECT_ROOT>/compiler/.*
<PROJECT_ROOT>/.*/node_modules/.*
.*/node_modules/resolve/test/resolver/malformed_package_json/package.json
<PROJECT_ROOT>/packages/relay-flight-experimental/.*
[options]
exact_by_default=true
exact_empty_objects=true
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.185.1