dillon1000/react

Commit

Autofix imports when running replace-fork (#20251)

* Pass extra CLI args through to ESLint

These now work:

```
yarn run lint --fix
yarn run linc --fix
```

* Autofix imports when running replace-fork

We have a custom ESLint rule that can autofix cross-fork imports.

Usually, after running the `replace-fork` script, you need to run
`yarn lint --fix` to fix the imports.

This combines the two steps into one.
Browse files
Changed paths1 file
First-parent comparison
M scripts/merge-fork/replace-fork.js Modified
Patch

Files changed

Rendering syntax-highlighted changes…