Default to raising all errors in eslint plugin

We control what gets reported via another function anyway so it's better
to raise everything at the compiler config level. This lets us configure
what level of diagnostic is reportable later

ghstack-source-id: 996d3cbb8d8f3e1bbe943210b8d633420e0f3f3b
Pull Request resolved: https://github.com/facebook/react-forget/pull/2935
This commit is contained in:
Lauren Tan
2024-05-06 20:07:35 -04:00
parent e2d47342be
commit 84d28ebcc5

View File

@@ -64,7 +64,7 @@ function isReportableDiagnostic(
const COMPILER_OPTIONS: Partial<PluginOptions> = {
noEmit: true,
compilationMode: "infer",
panicThreshold: "critical_errors",
panicThreshold: "all_errors",
};
const rule: Rule.RuleModule = {