dillon1000/react
Commit
Browse files [compiler] Surface unused opt out directives in eslint
This PR updates the eslint plugin to report unused opt out directives. One of the downsides of the opt out directive is that it opts the component/hook out of compilation forever, even if the underlying issue was fixed in product code or fixed in the compiler. ghstack-source-id: 81deb5c11b7c57f07f6ab13266066cd73b2f3729 Pull Request resolved: https://github.com/facebook/react/pull/30721
Changed paths2 files
First-parent comparisoncompiler/packages/eslint-plugin-react-compiler/__tests__/ReactCompilerRule-test.ts ModifiedM compiler/packages/eslint-plugin-react-compiler/src/rules/ReactCompilerRule.ts ModifiedPatch
Files changed
Rendering syntax-highlighted changes…