Raj Shekhar
Aug 31, 2018 · 1 min read

Nice work! Getting started up with RN project with all that setup to take care of, is confusing.

I have a issue. I do not have .flowconfig file. Even then if I add flow locally as

yarn add --dev flow-bin babel-preset-flow

and then do flow init, it creates an empty .flowconfig file with the latest flow version displayed at end of the file as 0.79.1 . Is it fine? and the rules I had to copy from https://github.com/facebook/react-native/blob/master/.flowconfig which is regularly updated with current flow version(now 0.79.1).

This is my react version:
react-native-cli: 2.0.1
react-native: 0.56.0

Also, this worked for me in package.json script:

"scripts": {
// ...
"lint": "eslint '**/*.js'"
}
Welcome to a place where words matter. On Medium, smart voices and original ideas take center stage - with no ads in sight. Watch
Follow all the topics you care about, and we’ll deliver the best stories for you to your homepage and inbox. Explore
Get unlimited access to the best stories on Medium — and support writers while you’re at it. Just $5/month. Upgrade