diff --git a/.flowconfig b/.flowconfig index 76be8b92ebdd6e..8987f11e34def9 100644 --- a/.flowconfig +++ b/.flowconfig @@ -22,6 +22,9 @@ ; Ignore everything in android-patches /android-patches/.* +; Ignore intentional malformed file in package.json +.*/node_modules/resolve/test/resolver/malformed_package_json/package.json + [untyped] .*/node_modules/@react-native-community/cli/.*/.* diff --git a/template/_flowconfig b/template/_flowconfig index e4eec7ee02557a..2e8167356a5349 100644 --- a/template/_flowconfig +++ b/template/_flowconfig @@ -14,6 +14,9 @@ node_modules/react-native/Libraries/polyfills/.* ; TODO(macOS GH#774): Ignore metro.config.js /metro.config.js +; Ignore intentional malformed file in package.json +.*/node_modules/resolve/test/resolver/malformed_package_json/package.json + [untyped] .*/node_modules/@react-native-community/cli/.*/.*