Skip to content

v4.0.0

Compare
Choose a tag to compare
@tatethurston tatethurston released this 16 Mar 20:28
· 6 commits to main since this release
96f5419

What's Changed

  • Add react- prefix to the flat configuration rule name. When using ESLint's flat configuration, the exported configuration from this package now "react-prefer-function-component". Previously it was "prefer-function-component". Practically speaking, no changes are expected from consumers of this package.

Action would only be necessary if there is an existing plugin in your ESLint configuration using the "react-prefer-function-component" name, or if you're programmatically processing your ESLint configuration and expecting to find "prefer-function-component".

See #20. Thanks @MariaSolOs!

New Contributors

Full Changelog: v3.4.0...v4.0.0