Closed amannn closed 10 months 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.
function
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.