logo

ls-lint

An extremely fast file and directory name linter

GitHub stars build NPM Downloads NPM Downloads License

Get Started →

Simplicity First

Minimal setup with simple rules managed in one single .ls-lint.yml file

Platform Support

Support for Windows, macOS and Linux + NPM + GitHub Action + Homebrew + Docker

Extremely fast

Lints thousands of files and directories in milliseconds

Bring some structure to your project filesystem

Manage all your file and directory names in one single .ls-lint.yml file

Example of the Vue.js 3 configuration
ls:
  packages/*/{src,__tests__}:
    .js: kebab-case
    .ts: camelCase | PascalCase
    .d.ts: camelCase
    .spec.ts: camelCase | PascalCase
    .mock.ts: camelCase

ignore:
  - node_modules