diff --git a/.flowconfig b/.flowconfig index eca6095b64a..6a1494abc33 100644 --- a/.flowconfig +++ b/.flowconfig @@ -1,6 +1,6 @@ [ignore] -; We fork some components by platform -.*/*[.]android.js +; Ignore other platform suffixes +.*\.android\.js$ ; Ignore templates for 'react-native init' /packages/react-native/template/.* diff --git a/.flowconfig.android b/.flowconfig.android index 13d973ba5a7..a04803f3651 100644 --- a/.flowconfig.android +++ b/.flowconfig.android @@ -1,6 +1,6 @@ [ignore] -; We fork some components by platform -.*/*[.]ios.js +; Ignore other platform suffixes +.*\.ios\.js$ ; Ignore templates for 'react-native init' /packages/react-native/template/.*