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

Support Next.js pages router naming case for file name #43

Open
Nirajn2311 opened this issue Apr 25, 2024 · 2 comments
Open

Support Next.js pages router naming case for file name #43

Nirajn2311 opened this issue Apr 25, 2024 · 2 comments

Comments

@Nirajn2311
Copy link

Nirajn2311 commented Apr 25, 2024

Currently folder names are checked with the NEXT_JS_APP_ROUTER_CASE value to be in line with Next.js app routers naming conventions. Similarly can it also be added to the file naming convention rule as those also need to be inline with the same naming Next.js conventions but for pages router

@dukeluo
Copy link
Owner

dukeluo commented Apr 28, 2024

I think KEBAB_CASE can do these things you said for files in nextjs app router project, so i havent add a new naming convention for the rule filename-naming-convention.

@Nirajn2311 Nirajn2311 changed the title Support Next.js app router naming case for file name Support Next.js pages router naming case for file name May 30, 2024
@Nirajn2311
Copy link
Author

My bad, I was thinking of the pages router and got them muddled up when creating the issue.

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