eslint-plugin-check-file icon indicating copy to clipboard operation
eslint-plugin-check-file copied to clipboard

Support Next.js pages router naming case for file name

Open Nirajn2311 opened this issue 1 year ago • 2 comments

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

Nirajn2311 avatar Apr 25 '24 05:04 Nirajn2311

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.

dukeluo avatar Apr 28 '24 16:04 dukeluo

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

Nirajn2311 avatar May 30 '24 15:05 Nirajn2311