Skip to content

Add Support for Directory Name Validation #13

@884js

Description

@884js

Hello,

I really like this library!

I have a feature request:

Could you make it possible to include directory names as part of the validation process?

In Next.js’s App Router, directory names directly correspond to the routing paths. In such cases, I’d like to prevent developers from using directory names that don’t comply with specific rules.

For example:
• app/review_guideline/page.tsx → Invalid
• app/review-guideline/page.tsx → Valid

Would it be possible to add this functionality?

Thank you!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions