loeffel-io / ls-lint

An extremely fast directory and filename linter - Bring some structure to your project filesystem

Home Page:https://ls-lint.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Feature proposal: rules

loeffel-io opened this issue · comments

Reusable rules with a new configuration item rules to avoid multiple regex patterns for different extensions

Example:

rules:
    VueComponent: PascalCase
    CustomRule: regex:[a-z0-9]+

ls: 
   .vue: VueComponent
   .yaml: CustomRule

This is planned for v2.3.0