ffc9ff066a
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 |
||
---|---|---|
.. | ||
rules | ||
README.md | ||
package.json |
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.