Skip to content

Commit b7158c3

Browse files
committed
Update on "[compiler][ez] Default to using flow suppressions"
[ghstack-poisoned]
1 parent c0f14fd commit b7158c3

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

compiler/packages/eslint-plugin-react-compiler/src/rules/ReactCompilerRule.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -101,6 +101,8 @@ function makeSuggestions(
101101
const COMPILER_OPTIONS: Partial<PluginOptions> = {
102102
noEmit: true,
103103
panicThreshold: 'none',
104+
// Don't emit errors on Flow suppressions--Flow already gave a signal
105+
flowSuppressions: false,
104106
};
105107

106108
const rule: Rule.RuleModule = {

0 commit comments

Comments
 (0)