dillon1000/react

Commit

[compiler][eslint] Use logger callback instead of exceptions to report eslint diagnostics

---
* panicThreshold: `all_errors` -> `none`
* inject an error logger through compiler config (instead of using exceptions)

We currently report at most one lint warning per file, this lets us exhaustively report all available ones (see new
test fixture for example)

ghstack-source-id: 5299315574d11929efc39ee8f6033e3035d1e378
Pull Request resolved: https://github.com/facebook/react/pull/30336
Browse files
Changed paths2 files
First-parent comparison
M compiler/packages/eslint-plugin-react-compiler/__tests__/ReactCompilerRule-test.ts ModifiedM compiler/packages/eslint-plugin-react-compiler/src/rules/ReactCompilerRule.ts Modified
Patch

Files changed

Rendering syntax-highlighted changes…