Skip to content

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

Merged
ljharb merged 3 commits intoairbnb:masterfrom
petersendidit:patch-1
Dec 22, 2021
Merged

[eslint config] set namedComponents option to match style guide#2501
ljharb merged 3 commits intoairbnb:masterfrom
petersendidit:patch-1

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