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

filename-case: add $ as an ignored char #2503

Open
ruiaraujo012 opened this issue Nov 29, 2024 · 0 comments
Open

filename-case: add $ as an ignored char #2503

ruiaraujo012 opened this issue Nov 29, 2024 · 0 comments

Comments

@ruiaraujo012
Copy link

Description

I'm working with tanstack router and the route params are defined with $, like $userId.tsx, but this rule doesn't ignore this char. I saw that it was an ignored char in the past, can you put it again?

Fail

src/app/routes/_area-reservada/area-reservada/certidoes/$idCertidao.tsx

Filename is not in kebab case or pascal case. Rename it to $id-certidao.tsx or $IdCertidao.tsx unicorn/filename-case

Pass

src/app/routes/_area-reservada/area-reservada/certidoes.tsx

Additional Info

No response

@github-actions github-actions bot changed the title rule-name: ‎filename-case rule-name: ‎filename-case Nov 29, 2024
@ruiaraujo012 ruiaraujo012 changed the title rule-name: ‎filename-case filename-case: add $ as an ignored char Nov 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants