react/scripts/eslint-rules
Andrew Clark 8f05f2bd6d
Land Lanes implementation in old fork (#19108)
* Add autofix to cross-fork lint rule

* replace-fork: Replaces old fork contents with new

For each file in the new fork, copies the contents into the
corresponding file of the old fork, replacing what was already there.

In contrast to merge-fork, which performs a three-way merge.

* Replace old fork contents with new fork

First I ran  `yarn replace-fork`.

Then I ran `yarn lint` with autofix enabled. There's currently no way to
do that from the command line (we should fix that), so I had to edit the
lint script file.

* Manual fix-ups

Removes dead branches, removes prefixes from internal fields.  Stuff
like that.

* Fix DevTools tests

DevTools tests only run against the old fork, which is why I didn't
catch these earlier.

There is one test that is still failing. I'm fairly certain it's related
to the layout of the Suspense fiber: we no longer conditionally wrap the
primary children. They are always wrapped in an extra fiber.

Since this has been running in www for weeks without major issues, I'll
defer fixing the remaining test to a follow up.
2020-06-11 20:05:15 -07:00
..
__tests__ Land Lanes implementation in old fork (#19108) 2020-06-11 20:05:15 -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 Land Lanes implementation in old fork (#19108) 2020-06-11 20:05:15 -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.