Files
Jakub Piasecki b3c110b0b2 Add a lint rule preventing named type imports from React (#50776)
Summary:
Pull Request resolved: https://github.com/facebook/react-native/pull/50776

Changelog: [Internal]

Adds a lint rule that prevents the use of named imports when importing types from React. `flow-api-translator` relies on the `React` namespace being used when generating TypeScript definitions based on Flow.

Reviewed By: huntie

Differential Revision: D73170799

fbshipit-source-id: 96d014b016c7cec8d3b266447dc7a185d2b1da26
2025-04-17 05:39:22 -07:00
..

react-native/tools/eslint

This directory contains ESLint rules for the react-native repository itself. They are configured in .eslintrc.js using the eslint-plugin-lint package.

For ESLint rules intended for projects that consume React Native, add them to the @react-native-community/eslint-plugin package instead.