-
Notifications
You must be signed in to change notification settings - Fork 60
/
.flowconfig
44 lines (38 loc) · 1.53 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]
# removed to fix issue with flow reporting errors with non-typed modules
# details here - https://github.com/facebook/flow/issues/6646#issuecomment-447272772
# <PROJECT_ROOT>/node_modules/.*
# This particular sub-folder should be ignored because it includes malformed JSON
<PROJECT_ROOT>/node_modules/resolve/test/.*
<PROJECT_ROOT>/flow-typed/**/*.*
<PROJECT_ROOT>/flow-typed/Noteplan.js
<PROJECT_ROOT>/private/**/*.*
<PROJECT_ROOT>/**/.history/.*
[include]
[libs]
flow-typed
[lints]
# FIXME: all of the below seem to crash flow in VSCode
#all=warn # warn on everything, except those specified. I don't see why this isn't working.
#sketchy-null=warn
#sketchy-number=warn
#unnecessary-optional-chain=warn
#unused-promise=warn # was not working for @jgclark at v0.202
[options]
autoimports=false
emoji=true
exact_by_default=true
experimental.const_params=true
module.use_strict=true
suppress_type=$FlowIgnore
suppress_type=$FlowFixMe
# suppress_type=$FlowTODO
module.name_mapper='^@plugins' ->'<PROJECT_ROOT>'
module.name_mapper='^@helpers' ->'<PROJECT_ROOT>/helpers'
module.name_mapper='^@mocks' ->'<PROJECT_ROOT>/__mocks__'
module.name_mapper='^NPTemplating' ->'<PROJECT_ROOT>/np.Templating/lib/NPTemplating'
module.name_mapper='^TemplatingEngine' ->'<PROJECT_ROOT>/np.Templating/lib/TemplatingEngine'
module.name_mapper='^@templating' ->'<PROJECT_ROOT>/np.Templating/lib'
module.name_mapper='^@templatingModules' ->'<PROJECT_ROOT>/np.Templating/lib/support/modules'
module.name_mapper='^NPGlobals' ->'<PROJECT_ROOT>/np.Globals/lib/NPGlobals'
[strict]