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

function-component-definition: ignore properties #2771

Merged
merged 1 commit into from Aug 30, 2020

Conversation

stefan-wullems
Copy link
Contributor

@stefan-wullems stefan-wullems commented Aug 26, 2020

Fixes #2765

@ljharb ljharb force-pushed the master branch 2 times, most recently from a00e067 to 20103c5 Compare August 30, 2020 17:33
@ljharb ljharb merged commit 20103c5 into jsx-eslint:master Aug 30, 2020
@wmertens
Copy link

Well, the test cases this PR uses should all have been ignored based on PascalCase alone. I don't see a test for it in lib/rules/function-component-definition.js either.

@wmertens
Copy link

(this was in reply to the issue, sorry, on phone)

@ljharb
Copy link
Member

ljharb commented Aug 31, 2020

@wmertens yes, ignored because they're not PascalCase.

@wmertens
Copy link

@ljharb no, they weren't ignored before this PR, this PR only adds being part of an object

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

Successfully merging this pull request may close these issues.

function-component-definition breaks code
3 participants