dillon1000/react

Commit

fix(eslint-plugin-react-compiler): support v9 context api (#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.
Browse files
Changed paths1 file
First-parent comparison
M compiler/packages/eslint-plugin-react-compiler/src/rules/ReactCompilerRule.ts Modified
Patch

Files changed

Rendering syntax-highlighted changes…