Commit 03117b3
committed
[eprh] Add back a no-op for removed component-hook-factories rule (#36307)
The `component-hook-factories` rule was removed in #35825 as part of a
feature flag cleanup, but was listed in the README as part of the manual
config example. This broke users who used a manual config (copied from
the old README) in eslint-plugin-react-hooks 7.1.0. This adds back a
deprecated no-op rule as a fix.
#35825 removed other rules (`automatic-effect-dependencies` and `fire`),
but these were for experimental features that did not ship. These were
also not referenced in the README.
DiffTrain build for [bc24980](bc24980)1 parent f86449d commit 03117b3
37 files changed
Lines changed: 134 additions & 89 deletions
File tree
- compiled
- eslint-plugin-react-hooks
- facebook-www
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
55444 | 55444 | | |
55445 | 55445 | | |
55446 | 55446 | | |
55447 | | - | |
| 55447 | + | |
| 55448 | + | |
| 55449 | + | |
| 55450 | + | |
| 55451 | + | |
| 55452 | + | |
| 55453 | + | |
| 55454 | + | |
| 55455 | + | |
| 55456 | + | |
| 55457 | + | |
| 55458 | + | |
| 55459 | + | |
| 55460 | + | |
| 55461 | + | |
| 55462 | + | |
55448 | 55463 | | |
55449 | 55464 | | |
55450 | 55465 | | |
| |||
Lines changed: 16 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
55396 | 55396 | | |
55397 | 55397 | | |
55398 | 55398 | | |
55399 | | - | |
| 55399 | + | |
| 55400 | + | |
| 55401 | + | |
| 55402 | + | |
| 55403 | + | |
| 55404 | + | |
| 55405 | + | |
| 55406 | + | |
| 55407 | + | |
| 55408 | + | |
| 55409 | + | |
| 55410 | + | |
| 55411 | + | |
| 55412 | + | |
| 55413 | + | |
| 55414 | + | |
55400 | 55415 | | |
55401 | 55416 | | |
55402 | 55417 | | |
| |||
Lines changed: 16 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
55444 | 55444 | | |
55445 | 55445 | | |
55446 | 55446 | | |
55447 | | - | |
| 55447 | + | |
| 55448 | + | |
| 55449 | + | |
| 55450 | + | |
| 55451 | + | |
| 55452 | + | |
| 55453 | + | |
| 55454 | + | |
| 55455 | + | |
| 55456 | + | |
| 55457 | + | |
| 55458 | + | |
| 55459 | + | |
| 55460 | + | |
| 55461 | + | |
| 55462 | + | |
55448 | 55463 | | |
55449 | 55464 | | |
55450 | 55465 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1482 | 1482 | | |
1483 | 1483 | | |
1484 | 1484 | | |
1485 | | - | |
| 1485 | + | |
1486 | 1486 | | |
1487 | 1487 | | |
1488 | 1488 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1482 | 1482 | | |
1483 | 1483 | | |
1484 | 1484 | | |
1485 | | - | |
| 1485 | + | |
1486 | 1486 | | |
1487 | 1487 | | |
1488 | 1488 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
610 | 610 | | |
611 | 611 | | |
612 | 612 | | |
613 | | - | |
| 613 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
610 | 610 | | |
611 | 611 | | |
612 | 612 | | |
613 | | - | |
| 613 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
614 | 614 | | |
615 | 615 | | |
616 | 616 | | |
617 | | - | |
| 617 | + | |
618 | 618 | | |
619 | 619 | | |
620 | 620 | | |
| |||
0 commit comments