Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[eslint config] set namedComponents option to match style guide #2501

Merged
merged 3 commits into from Dec 22, 2021

Conversation

petersendidit
Copy link
Contributor

@petersendidit petersendidit commented Nov 10, 2021

Change the namedComponents option to function-declaration to match what the style guide requires.

019e0f7#r60060792

Closes #2505

@Harris-Miller

This comment has been minimized.

@ljharb

This comment has been minimized.

@Harris-Miller

This comment has been minimized.

@ljharb

This comment has been minimized.

@ljharb
Copy link
Collaborator

ljharb commented Dec 22, 2021

(note: this is blocked on v7.28.0 of eslint-plugin-react being released)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

react/function-component-definition configuration violates style guide
3 participants