Skip to content

Create a hook for validating file name #147

@jorgepiloto

Description

@jorgepiloto

💡 Idea

When it comes to documentation, the usage of lowercase and hyphens in files names is important. This is because the name of the files set the final slug in the URL of the docs.

It is likely that a developer uses snake case or camel case when creating a source code file. However, these naming conventions should be avoided for files that render into docs.

Thus, I am proposing the creation of a hook that ensures a file is compliant with a certain naming convention.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions