mirror of
https://github.com/facebook/react.git
synced 2026-02-27 03:07:57 +00:00
The compiler bails out of compiling code that contains suppressions of the official React ESLint rules. However, some apps may use additional rules that they want to trigger bailouts for, or use the official rules under a different name (we do this at Meta). This PR adds a compiler flag to specify a custom set of line rule names, suppression of which should trigger a bailout.