Skip to content

Commit

Permalink
Tweaks to flow checking
Browse files Browse the repository at this point in the history
  • Loading branch information
jgclark committed Aug 9, 2023
1 parent 987b289 commit 974b29b
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions .flowconfig
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,10 @@

# This particular sub-folder should be ignored because it includes malformed JSON
<PROJECT_ROOT>/node_modules/resolve/test/.*
.*/.history/.*
<PROJECT_ROOT>/flow-typed/**/*.*
<PROJECT_ROOT>/flow-typed/Noteplan.js
<PROJECT_ROOT>/private/**/*.*
<PROJECT_ROOT>/**/.history/.*

[include]

Expand All @@ -19,8 +22,9 @@ emoji=true
exact_by_default=true
experimental.const_params=true
module.use_strict=true
suppress_type=$FlowFixMe
suppress_type=$FlowTODO
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__'
Expand Down

0 comments on commit 974b29b

Please sign in to comment.