fix: add build generated files to *ignore config (#41826)

Summary:
This PR adds build generated files to *ignore config files. This allows to locally run `yarn lint`

## Changelog:

[INTERNAL] [ADDED] - Add build generated files to local config files

Pull Request resolved: https://github.com/facebook/react-native/pull/41826

Test Plan: CI Green

Reviewed By: huntie

Differential Revision: D51939024

Pulled By: cortinico

fbshipit-source-id: cfd6c1c13dd23c692859cd06fa5955024fafc522
This commit is contained in:
Oskar Kwaśniewski 2023-12-08 10:17:31 -08:00 committed by Facebook GitHub Bot
parent a78a8e1289
commit 1e0fc76325
3 changed files with 8 additions and 0 deletions

View File

@ -6,6 +6,8 @@ packages/react-native/Libraries/Renderer/*
packages/react-native/Libraries/vendor/**/*
node_modules/
packages/*/node_modules
packages/*/dist
packages/debugger-frontend/dist/**/*
packages/react-native-codegen/lib
tools/eslint/rules/sort-imports.js
**/Pods/*

View File

@ -17,6 +17,9 @@
; Checked-in build output
<PROJECT_ROOT>/packages/debugger-frontend/dist/
; Generated build output
<PROJECT_ROOT>/packages/.*/dist
[untyped]
.*/node_modules/@react-native-community/cli/.*/.*

View File

@ -4,3 +4,6 @@
# Ignore hermes as it is downloaded from the react_native_pods
**/sdks/hermes
**/sdks/downloads
packages/*/dist
vendor