molindo / eslint-config-molindo

ESLint config that implements the Molindo styleguide and helps to catch errors.
MIT License
1 stars 2 forks source link

Evaluate `react/function-component-definition` #75

Closed amannn closed 10 months ago

amannn commented 2 years ago

https://github.com/yannickcr/eslint-plugin-react/blob/master/docs/rules/function-component-definition.md

We already only permit function declarations for components. With this rule, we could get auto fixing at least for React components.