From 6aebee2ac1d8639fbcfc67976f3064783d9a684c Mon Sep 17 00:00:00 2001 From: James Ide Date: Sat, 28 Nov 2026 02:45:03 -0800 Subject: [PATCH] Ignore the Gradle plugin's build output in ESLint Gradle writes an HTML test report, with a `report.js`, into the build directory of each module under `packages/gradle-plugin`. The file has no Flow annotation, so `yarn lint` fails with `ft-flow/require-valid-file-annotation` once the plugin's tests have run. Git already ignores these directories; ESLint does not read `.gitignore`. Co-Authored-By: Claude Opus 5.5 --- .eslintignore | 1 + 1 file changed, 1 insertion(+) diff --git a/.eslintignore b/.eslintignore index 6109bd95fecd..be9dc19c55e9 100644 --- a/.eslintignore +++ b/.eslintignore @@ -5,6 +5,7 @@ packages/react-native/flow/ packages/react-native/sdks/ packages/react-native/ReactAndroid/build packages/react-native/ReactAndroid/hermes-engine/build/ +packages/gradle-plugin/*/build/ packages/react-native/Libraries/Renderer/* packages/react-native/Libraries/vendor/**/* node_modules/