Commit 974c68f
committed
fix(eslint-plugin-react-compiler): support v9 context api (facebook#32045)
## Summary
This change fixes a gap in the plugin's support of eslint v9. In one
place that it's using the `SourceCode` api, it's correctly considering
v9's api. But in the other place where `SourceCode` is used, it's only
using the legacy api, which was removed in v9.
DiffTrain build for [b3a95ca](facebook@b3a95ca)1 parent deea2c8 commit 974c68f
File tree
34 files changed
+98
-92
lines changed- compiled/facebook-www
34 files changed
+98
-92
lines changed| 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 | |
|---|---|---|---|
| |||
1280 | 1280 | | |
1281 | 1281 | | |
1282 | 1282 | | |
1283 | | - | |
| 1283 | + | |
| 1284 | + | |
| 1285 | + | |
| 1286 | + | |
1284 | 1287 | | |
1285 | 1288 | | |
1286 | 1289 | | |
| |||
1944 | 1947 | | |
1945 | 1948 | | |
1946 | 1949 | | |
1947 | | - | |
| 1950 | + | |
1948 | 1951 | | |
1949 | 1952 | | |
1950 | 1953 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1280 | 1280 | | |
1281 | 1281 | | |
1282 | 1282 | | |
1283 | | - | |
| 1283 | + | |
| 1284 | + | |
| 1285 | + | |
| 1286 | + | |
1284 | 1287 | | |
1285 | 1288 | | |
1286 | 1289 | | |
| |||
1944 | 1947 | | |
1945 | 1948 | | |
1946 | 1949 | | |
1947 | | - | |
| 1950 | + | |
1948 | 1951 | | |
1949 | 1952 | | |
1950 | 1953 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
364 | 364 | | |
365 | 365 | | |
366 | 366 | | |
367 | | - | |
| 367 | + | |
368 | 368 | | |
369 | 369 | | |
370 | 370 | | |
| |||
630 | 630 | | |
631 | 631 | | |
632 | 632 | | |
633 | | - | |
| 633 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
364 | 364 | | |
365 | 365 | | |
366 | 366 | | |
367 | | - | |
| 367 | + | |
368 | 368 | | |
369 | 369 | | |
370 | 370 | | |
| |||
630 | 630 | | |
631 | 631 | | |
632 | 632 | | |
633 | | - | |
| 633 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
368 | 368 | | |
369 | 369 | | |
370 | 370 | | |
371 | | - | |
| 371 | + | |
372 | 372 | | |
373 | 373 | | |
374 | 374 | | |
| |||
634 | 634 | | |
635 | 635 | | |
636 | 636 | | |
637 | | - | |
| 637 | + | |
638 | 638 | | |
639 | 639 | | |
640 | 640 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
368 | 368 | | |
369 | 369 | | |
370 | 370 | | |
371 | | - | |
| 371 | + | |
372 | 372 | | |
373 | 373 | | |
374 | 374 | | |
| |||
634 | 634 | | |
635 | 635 | | |
636 | 636 | | |
637 | | - | |
| 637 | + | |
638 | 638 | | |
639 | 639 | | |
640 | 640 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
16945 | 16945 | | |
16946 | 16946 | | |
16947 | 16947 | | |
16948 | | - | |
| 16948 | + | |
16949 | 16949 | | |
16950 | 16950 | | |
16951 | | - | |
| 16951 | + | |
16952 | 16952 | | |
16953 | 16953 | | |
16954 | 16954 | | |
| |||
16982 | 16982 | | |
16983 | 16983 | | |
16984 | 16984 | | |
16985 | | - | |
| 16985 | + | |
16986 | 16986 | | |
16987 | 16987 | | |
16988 | 16988 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
16717 | 16717 | | |
16718 | 16718 | | |
16719 | 16719 | | |
16720 | | - | |
| 16720 | + | |
16721 | 16721 | | |
16722 | 16722 | | |
16723 | | - | |
| 16723 | + | |
16724 | 16724 | | |
16725 | 16725 | | |
16726 | 16726 | | |
| |||
16754 | 16754 | | |
16755 | 16755 | | |
16756 | 16756 | | |
16757 | | - | |
| 16757 | + | |
16758 | 16758 | | |
16759 | 16759 | | |
16760 | 16760 | | |
| |||
0 commit comments