Skip to content

Instantly share code, notes, and snippets.

@domluna
Created June 26, 2016 17:47
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save domluna/258775a6f73477a9bca8b22ba5bda900 to your computer and use it in GitHub Desktop.
Save domluna/258775a6f73477a9bca8b22ba5bda900 to your computer and use it in GitHub Desktop.
Sample flowconfig from Ian Sinnott
[ignore]
.*/node_modules/fbjs/.*
[include]
[libs]
[options]
module.name_mapper.extension='css' -> '<PROJECT_ROOT>/flow/CSSModule.js.flow'
module.name_mapper.extension='styl' -> '<PROJECT_ROOT>/flow/CSSModule.js.flow'
module.name_mapper.extension='png' -> '<PROJECT_ROOT>/flow/WebpackAsset.js.flow'
module.name_mapper.extension='jpg' -> '<PROJECT_ROOT>/flow/WebpackAsset.js.flow'
esproposal.class_static_fields=enable
esproposal.class_instance_fields=enable
suppress_comment=\\(.\\|\n\\)*\\$FlowFixMe
suppress_comment=\\(.\\|\n\\)*\\$FlowIssue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment