Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
flowconfig: HMRLoadingView ignore; better mimic FB internal .flowconfig.
Part of the RN v0.59.10 -> v0.60.0 upgrade [1]. This commit has no hard constraints on its position relative to the others in the series, but at least one change (the `HMRLoadingView.js` ignore) is not necessary until the upgrade. Corresponds to facebook/react-native@0f909e331. Leave in one inexplicable line that reveals huge numbers of errors if removed, mostly in node_modules/react-native/Libraries (but some in our code as well, e.g., `deprecated-utility` on the use of `$Subtype` in `redux-persist/index.js.flow`. ```diff - module.file_ext=.js - module.file_ext=.jsx - module.file_ext=.json - module.file_ext=.native.js module.file_ext=.ios.js // This line ``` It's not there in the RN v0.60.0 template, but it's been in our repo since e38869a, the upgrade from RN 0.51.0 to 0.52.0. It doesn't seem to have ever been in the template app. The upgrade helper showing the `rn-diff-purge` diff from RN 0.51.0 to 0.52.0 [1] doesn't suggest adding that line, but I don't think that tool was around when that other upgrade was done. Perhaps it was added from experimentation, or there was another guide to upgrading. Anyway, there's an open Flow issue [2], which was open at the time of e38869a, one resolution of which is to include the line that was included. So, keep including it. [1]: https://react-native-community.github.io/upgrade-helper/?from=0.51.0&to=0.52.0 [2]: facebook/flow#945
- Loading branch information