v4.0.0
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
- @MariaSolOs made their first contribution in #20
Full Changelog: v3.4.0...v4.0.0