Skip to content

Instantly share code, notes, and snippets.

@torifat
Created August 4, 2016 01:43
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save torifat/756443d1bab62abda5f87c3ca2c90dc8 to your computer and use it in GitHub Desktop.
Save torifat/756443d1bab62abda5f87c3ca2c90dc8 to your computer and use it in GitHub Desktop.
Default .flowconfig for create-react-app
[libs]
./node_modules/fbjs/flow/lib
[options]
esproposal.class_static_fields=enable
esproposal.class_instance_fields=enable
module.name_mapper='^\(.*\)\.css$' -> 'react-scripts/config/flow/css'
module.name_mapper='^\(.*\)\.\(jpg\|png\|gif\|eot\|svg\|ttf\|woff\|woff2\|mp4\|webm\)$' -> 'react-scripts/config/flow/file'
suppress_type=$FlowIssue
suppress_type=$FlowFixMe
@nataly-chobat
Copy link

nataly-chobat commented Oct 17, 2018

And what folders should be under ignore? Could you please help with this @langpavel?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment