react-native/tools/eslint
Tim Yung 892ce1b980 RN: Fix sort-imports Lint Configuration (#47104)
Summary:
Pull Request resolved: https://github.com/facebook/react-native/pull/47104

In https://github.com/facebook/react-native/pull/46082, the lint configuration for `lint/sort-imports` was accidentally removed.

This has happened on more than one occasion in the past. In order to prevent this from happening again in the future, I'm also adding a Jest integration test to verify that this lint rule is enabled in the `eslintrc.js` configuration.

Changelog:
[Internal]

Reviewed By: robhogan

Differential Revision: D64547410

fbshipit-source-id: ec4f14aff140691b644189dfa3116a3d39285f80
2024-10-17 17:06:20 -07:00
..
__tests__ RN: Fix sort-imports Lint Configuration (#47104) 2024-10-17 17:06:20 -07:00
rules Build and sync lint/sort-imports from WWW (#44824) 2024-06-07 10:01:49 -07:00
package.json RN: Enforce Manifest Constraints w/ ESLint (#39064) 2023-08-18 07:48:56 -07:00
README.md

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.