-
Notifications
You must be signed in to change notification settings - Fork 1
/
.flowconfig
29 lines (22 loc) · 851 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
# for third-party modules that use flow, you need to let flow do its thing:
# so you shouldn't ignore the entirety of node_modules.
# however, you might have to adjust the [ignore] etc sections HERE
# to account for what those modules need. for example, if a module
# uses a magic marker to ignore certain flow errors, you need to include
# that magic string HERE too.
[ignore]
<PROJECT_ROOT>/dist/.*
# error in a json file
<PROJECT_ROOT>/node_modules/conventional-changelog-core/.*
# error in src/lib/flow.js
<PROJECT_ROOT>/node_modules/flow-coverage-report/.*
[include]
[libs]
flow-typed/
[options]
# we import eg config files via variable
module.ignore_non_literal_requires=true
# used by flow-coverage-report
suppress_comment=.*\\$FLOW_FIXME
# default suppression (needed as we customise above)
suppress_comment= \\(.\\|\n\\)*\\$FlowFixMe