mirror of
https://github.com/facebook/react.git
synced 2026-02-26 18:58:05 +00:00
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:
@@ -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 = {
|
||||
|
||||
Reference in New Issue
Block a user