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

Capitalized non-function not triggering rule #26

Closed
uthbees opened this issue Sep 28, 2023 · 2 comments
Closed

Capitalized non-function not triggering rule #26

uthbees opened this issue Sep 28, 2023 · 2 comments

Comments

@uthbees
Copy link

uthbees commented Sep 28, 2023

Camel case variables are flagged correctly:

export function Component() {}
export const aa = 'a' // <--- flagged

But the rule seems to think that pascal case variables, no matter what they are, are components:

export function Component() {}
export const Aa = 'a' // <- not flagged!

This is clearly not ideal - is this possible to fix?

@ArnaudBarre
Copy link
Owner

Sorry for the late answer!
Fixed on main, I will released later this week when other issues are handled!

@ArnaudBarre
Copy link
Owner

Released in v0.4.4!

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

No branches or pull requests

2 participants