react-native-macos/local-cli
Jordan Brown 0ee23d0beb Remove unused suppressions in xplat/js
Summary:
There were approximately 350 unused suppressions in xplat/js when checking with .flowconfig.android

The flow team is partially responsible for this, since our release process hasn't changed since we added the flowconfig. In the diff beneath this one, I added the functionality necessary for us to not add any more unused suppressions. To test it, I made this diff. The steps were:

1. Start iOS server
2. Start android server
3. remove unused ios suppressions
4. remove unused android suppressions
5. add ios suppressions with site=react_native_ios_fb
6. add android suppressions with site=react_native_android_fb
7. remove unused ios suppressions. The ones that are unused are ones where an android comment was inserted as well, since the ios comment no longer is next to the error
8. add suppressions using ios flowconfig with site=react_native_fb
9. remove unused android suppressions. The unused ones are ones that were moved up when the cross-platform suppressions were inserted.

I'm going to make this into a script to make sure we don't contribute anymore unused suppressions from our side.

The controller you requested could not be found. nolint

Reviewed By: TheSavior

Differential Revision: D10053893

fbshipit-source-id: 7bee212062f8b2153c6ba906a30cf40df2224019
2018-09-27 11:47:04 -07:00
..
__mocks__ react-native-github: set path mock to posix by default 2018-09-24 06:32:24 -07:00
bundle Prettify remaining unprettified files (#21327) 2018-09-25 19:50:08 -07:00
core Remove unused suppressions in xplat/js 2018-09-27 11:47:04 -07:00
dependencies Update copyright headers to yearless format 2018-09-11 15:33:07 -07:00
eject Update copyright headers to yearless format 2018-09-11 15:33:07 -07:00
generator Prettify remaining unprettified files (#21327) 2018-09-25 19:50:08 -07:00
info Update copyright headers to yearless format 2018-09-11 15:33:07 -07:00
init Prettify remaining unprettified files (#21327) 2018-09-25 19:50:08 -07:00
install Update copyright headers to yearless format 2018-09-11 15:33:07 -07:00
library Update copyright headers to yearless format 2018-09-11 15:33:07 -07:00
link fix ci path problem on Windows (#21203) 2018-09-19 10:47:41 -07:00
logAndroid Update copyright headers to yearless format 2018-09-11 15:33:07 -07:00
logIOS Update copyright headers to yearless format 2018-09-11 15:33:07 -07:00
runAndroid Update copyright headers to yearless format 2018-09-11 15:33:07 -07:00
runIOS ios-simulator: change default iphone version (#21148) 2018-09-18 20:57:45 -07:00
server Make config object read-only 2018-09-26 16:48:48 -07:00
templates add x86_64 arm64-v8a support. Fixes #2814 (#18754) 2018-09-24 11:32:56 -07:00
upgrade Update copyright headers to yearless format 2018-09-11 15:33:07 -07:00
util Pass the maxWorkers config param correctly to Metro 2018-09-18 08:19:38 -07:00
.npmignore npmignore: ignore tests and fixtures 2018-02-27 08:42:14 -08:00
cli.js Update copyright headers to yearless format 2018-09-11 15:33:07 -07:00
cliEntry.js Update copyright headers to yearless format 2018-09-11 15:33:07 -07:00
commands.js Update copyright headers to yearless format 2018-09-11 15:33:07 -07:00
setup_env.bat Update copyright headers to yearless format 2018-09-11 15:33:07 -07:00
setup_env.sh Update copyright headers to yearless format 2018-09-11 15:33:07 -07:00
wrong-react-native.js Update copyright headers to yearless format 2018-09-11 15:33:07 -07:00