react/scripts/eslint-rules
Andrew Clark eee874ce6e
Cross-fork lint: Support named export declaration (#20784)
Noticed this didn't work when I ran `replace-fork` and a named export
declaration in ReactFiberReconciler was not properly fixed.
2021-02-10 11:01:52 -08:00
..
__tests__ Cross-fork lint: Support named export declaration (#20784) 2021-02-10 11:01:52 -08:00
index.js Lint rule to forbid access of cross-fork fields (#19679) 2020-08-24 10:07:11 -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 Cross-fork lint: Support named export declaration (#20784) 2021-02-10 11:01:52 -08:00
no-cross-fork-types.js Lint rule to forbid access of cross-fork fields (#19679) 2020-08-24 10:07:11 -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 Fixes eslint warning when node type is ChainExpression (#19680) 2020-08-29 21:03:23 +01: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.