Browse Source
build(flow): include node_modules in flow config
renovate/lint-staged-8.x
Tom Kirkpatrick
6 years ago
No known key found for this signature in database
GPG Key ID: 72203A8EC5967EA8
1 changed files with
4 additions and
3 deletions
-
.flowconfig
|
|
@ -1,6 +1,4 @@ |
|
|
|
[ignore] |
|
|
|
<PROJECT_ROOT>/node_modules/* |
|
|
|
<PROJECT_ROOT>/app/node_modules/* |
|
|
|
<PROJECT_ROOT>/app/main.prod.js |
|
|
|
<PROJECT_ROOT>/app/main.prod.js.map |
|
|
|
<PROJECT_ROOT>/app/dist/.* |
|
|
@ -8,7 +6,7 @@ |
|
|
|
<PROJECT_ROOT>/release/.* |
|
|
|
<PROJECT_ROOT>/dll/.* |
|
|
|
<PROJECT_ROOT>/release/.* |
|
|
|
<PROJECT_ROOT>/git/.* |
|
|
|
<PROJECT_ROOT>/.git/.* |
|
|
|
|
|
|
|
[include] |
|
|
|
|
|
|
@ -20,6 +18,9 @@ esproposal.class_static_fields=enable |
|
|
|
esproposal.class_instance_fields=enable |
|
|
|
esproposal.export_star_as=enable |
|
|
|
|
|
|
|
module.system.node.resolve_dirname=node_modules |
|
|
|
module.system.node.resolve_dirname=app/node_modules |
|
|
|
|
|
|
|
# Map stylesheets to csssmodule tyoe def |
|
|
|
module.name_mapper.extension='css' -> '<PROJECT_ROOT>/internals/flow/CSSModule.js.flow' |
|
|
|
module.name_mapper.extension='styl' -> '<PROJECT_ROOT>/internals/flow/CSSModule.js.flow' |
|
|
|