react-native-macos/Libraries
Dominik Wienand 0b4f33c2d0 Use .includes instead of .startsWith for checking ignored YellowBox warnings
Summary:
Some warnings don't have a good prefix that can be targeted using .startsWith, e.g. "Module $modulename requires main queue setup". It would be helpful to be able to select this warning using the much more specific middle part of the string ("requires main queue setup since it overrides `constantsToExport`) so I want to change this check from startsWith to includes to enable that.

Changing from .startsWith -> .includes should be completely backward compatible.

Reviewed By: TheSavior

Differential Revision: D7445309

fbshipit-source-id: 2c91dbe5ee3c3aa74be1bca091b20d294e64e853
2018-04-04 13:30:35 -07:00
..
ART Update license headers for MIT license 2018-02-16 18:31:53 -08:00
ActionSheetIOS Update license headers for MIT license 2018-02-16 18:31:53 -08:00
Alert Fix ESLint warnings using 'yarn lint --fix' 2018-02-22 07:23:17 -08:00
Animated Add an implementation of Animated.subtract 2018-03-30 21:08:52 -07:00
AppState Fix ESLint warnings using 'yarn lint --fix' 2018-02-22 07:23:17 -08:00
BatchedBridge Replace RN exception handling override with new version 2018-04-03 06:01:37 -07:00
Blob Fix blob response parsing for empty body on iOS 2018-03-27 11:13:34 -07:00
BugReporting Update license headers for MIT license 2018-02-16 18:31:53 -08:00
CameraRoll @allow-large-files Upgrade xplat/js to Flow v0.66 2018-02-16 20:24:57 -08:00
Components Add iOS 10 textContentType for TextInput 2018-04-02 02:46:43 -07:00
Core Make fetchSegment native hook name consistent with __ prefix 2018-03-09 08:55:51 -08:00
EventEmitter Update license headers for MIT license 2018-02-16 18:31:53 -08:00
Experimental Upgrade to Flow v0.68.0 2018-03-19 18:31:36 -07:00
Geolocation Fix ESLint warnings using 'yarn lint --fix' 2018-02-22 07:23:17 -08:00
Image fix(RCTImageLoader): Adds `requiresMainQueueSetup` to fix v0.52 2018-04-03 16:41:43 -07:00
Inspector StyleObj -> DangerouslyImpreciseStyleProp 2018-03-07 13:24:20 -08:00
Interaction Update license headers for MIT license 2018-02-16 18:31:53 -08:00
JSInspector Update license headers for MIT license 2018-02-16 18:31:53 -08:00
LayoutAnimation Update license headers for MIT license 2018-02-16 18:31:53 -08:00
Linking Fix ESLint warnings using 'yarn lint --fix' 2018-02-22 07:23:17 -08:00
LinkingIOS Update license headers for MIT license 2018-02-16 18:31:53 -08:00
Lists Add custom RefreshControl support to VirtualizedList 2018-03-27 18:19:30 -07:00
Modal Fix ESLint warnings using 'yarn lint --fix' 2018-02-22 07:23:17 -08:00
NativeAnimation Fix tvOS build breakage in RCTAnimation Xcode project 2018-04-02 22:33:45 -07:00
Network Fix blob response parsing for empty body on iOS 2018-03-27 11:13:34 -07:00
Performance RN: Delete Systrace.swizzleJSON 2018-03-08 23:43:26 -08:00
PermissionsAndroid Fix ESLint warnings using 'yarn lint --fix' 2018-02-22 07:23:17 -08:00
PushNotificationIOS Fix ESLint warnings using 'yarn lint --fix' 2018-02-22 07:23:17 -08:00
RCTTest Update license headers for MIT license 2018-02-16 18:31:53 -08:00
ReactNative Use .includes instead of .startsWith for checking ignored YellowBox warnings 2018-04-04 13:30:35 -07:00
Renderer React sync for revisions ced176e...9d484ed 2018-03-20 17:14:40 -07:00
Sample Standardize project indentation settings on 2 spaces 2017-07-31 05:20:03 -07:00
Settings Update license headers for MIT license 2018-02-16 18:31:53 -08:00
Share Update license headers for MIT license 2018-02-16 18:31:53 -08:00
Storage Fix ESLint warnings using 'yarn lint --fix' 2018-02-22 07:23:17 -08:00
StyleSheet Moving remaining Style types from StyleSheetTypes to StyleSheet 2018-03-21 14:15:32 -07:00
SurfaceBackedComponent Update license headers for MIT license 2018-02-16 18:31:53 -08:00
SurfaceHostingComponent Update license headers for MIT license 2018-02-16 18:31:53 -08:00
Text Add iOS 10 textContentType for TextInput 2018-04-02 02:46:43 -07:00
Types RN: Flow Type for `PressEvent` 2018-02-25 23:27:00 -08:00
Utilities Don't truncate in the middle of an emoji 2018-03-12 12:33:54 -07:00
Vibration Fix ESLint warnings using 'yarn lint --fix' 2018-02-22 07:23:17 -08:00
WebSocket Increase timeouts to 15, 10 2018-03-28 04:45:26 -07:00
Wrapper Update additional license headers 2018-03-08 12:10:14 -08:00
fishhook Merge fishhook.xcodeproj in RCTWebSocket 2017-08-09 07:48:09 -07:00
polyfills Fix "function statements" in strict mode builds 2018-03-28 10:12:41 -07:00
react-native Update license headers for MIT license 2018-02-16 18:31:53 -08:00
vendor Update license headers for MIT license 2018-02-16 18:31:53 -08:00
.npmignore npmignore: ignore tests and fixtures 2018-02-27 08:42:14 -08:00
Promise.js Update license headers for MIT license 2018-02-16 18:31:53 -08:00
UTFSequence.js Update license headers for MIT license 2018-02-16 18:31:53 -08:00
promiseRejectionIsError.js Update license headers for MIT license 2018-02-16 18:31:53 -08:00