Breaking:
- The Linux x86 build is now built from
ubuntu-22.04. It might make Flow not runnable on older linux distributions.
Likely to cause new Flow errors:
- Code like the (example) will have
[react-rule-hook-conditional]instead of[react-rule-hook-naming-convention]errors. $Diffsupport is removed. If you have trouble migrating, you can try to polyfill it by this. However,$Diffhas surprising behavior with regard to optional props in the second type parameter, which cannot be easily polyfilled (example).
New Features:
- We now allow you to configure certain error code to be unsuppressable. For example, to make
react-rule-hook-naming-conventionandreact-rule-hook-conditionalerrors unsuppressable, you can add the following to the[options]section in flowconfig:
unsuppressable_error_codes=react-rule-hook-naming-convention
unsuppressable_error_codes=react-rule-hook-conditional