Skip to content

Commit 810f983

Browse files
Simekmeta-codesync[bot]
authored andcommitted
Exclude generated code from lint (#54530)
Summary: I was experimenting with TS API in the monorepo, and spotted that root lint tries to format generated code. This small change add exclusion for files in `private/react-native-codegen-typescript-test/lib` which are generated locally when running TS API tests. The path is already ignored in `.gitignore` file: * https://github.com/facebook/react-native/blob/main/.gitignore#L146-L146 ## Changelog: [INTERNAL] [FIXED] - Exclude generated code from lint checks to avoid unnecessary warnings. Pull Request resolved: #54530 Test Plan: Running `yarn lint` at monorepo root no longer outputs warnings. Reviewed By: cortinico Differential Revision: D86963479 Pulled By: cipolleschi fbshipit-source-id: e067bbbbf69d24929095aed1145f41ae9f26fbd4
1 parent 8e0404f commit 810f983

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

.eslintignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ packages/*/dist
1313
packages/*/types_generated
1414
packages/debugger-frontend/dist/**/*
1515
packages/react-native-codegen/lib
16+
private/react-native-codegen-typescript-test/lib/**/*
1617
**/Pods/*
1718
**/*.macos.js
1819
**/*.windows.js

0 commit comments

Comments
 (0)