react-native-macos/tools/eslint
Tim Yung ffc9ff066a RN: Enforce Manifest Constraints w/ ESLint (#39064)
Summary:
Pull Request resolved: https://github.com/facebook/react-native/pull/39064

Creates a new lint rule that enforces the following constraints:

- `react-native/monorepo` cannot have `dependencies`.
- `react-native` cannot have `devDependencies`.

This also includes a lengthy comment in the rule definition explaining why these constraints exist, so that future contributors can make an informed decision when reconsidering these constraints.

Changelog:
[Internal]

Reviewed By: NickGerleman

Differential Revision: D48448633

fbshipit-source-id: 26b0d74b9120ddfd2a6a72bb91f86a98c8d679ef
2023-08-18 07:48:56 -07:00
..
rules RN: Enforce Manifest Constraints w/ ESLint (#39064) 2023-08-18 07:48:56 -07:00
README.md RN: Lint for Internal Package Imports 2022-09-27 09:22:58 -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.