react/scripts/eslint-rules
Andrew Clark af1b039bdd
ESLint rule to forbid cross fork imports (#18568)
Modules that belong to one fork should not import modules that belong to
the other fork.

Helps make sure you correctly update imports when syncing changes across
implementations.

Also could help protect against code size regressions that might happen
if one of the forks accidentally depends on two copies of the same
module.
2020-04-09 18:11:34 -07:00
..
__tests__ ESLint rule to forbid cross fork imports (#18568) 2020-04-09 18:11:34 -07:00
index.js ESLint rule to forbid cross fork imports (#18568) 2020-04-09 18:11:34 -07:00
invariant-args.js Remove the condition argument from warning() (#17568) 2019-12-11 03:28:14 +00:00
no-cross-fork-imports.js ESLint rule to forbid cross fork imports (#18568) 2020-04-09 18:11:34 -07:00
no-primitive-constructors.js Drop the year from Facebook copyright headers and the LICENSE file. (#13593) 2018-09-07 15:11:23 -07:00
no-production-logging.js Use console directly instead of warning() modules (#17599) 2019-12-14 18:09:25 +00:00
no-to-warn-dev-within-to-throw.js Additional test infra changes for toErrorDev rename (#17632) 2019-12-17 13:31:47 +00:00
package.json Simplify Jest config a little bit (#11242) 2017-10-16 23:17:00 +01:00
README.md Simplify Jest config a little bit (#11242) 2017-10-16 23:17:00 +01:00
warning-args.js Use console directly instead of warning() modules (#17599) 2019-12-14 18:09:25 +00:00

Custom ESLint Rules

This is a dummy npm package that allows us to treat it as an eslint-plugin. It's not actually published, nor are the rules here useful for users of React. If you want to lint your React code, try https://github.com/yannickcr/eslint-plugin-react.

If you modify this rule, you must re-run npm install ./eslint-rules for it to take effect.