Awesome
<img width="100" src="https://raw.githubusercontent.com/loeffel-io/ls-lint/master/assets/logo/ls-lint.png" alt="logo">ls-lint
An extremely fast directory and filename linter - Bring some structure to your project filesystem
<a href="https://www.npmjs.com/package/@ls-lint/ls-lint"><img src="https://img.shields.io/npm/v/@ls-lint/ls-lint.svg?sanitize=true" alt="Version"></a> <a href="https://www.npmjs.com/package/@ls-lint/ls-lint"><img src="https://img.shields.io/npm/l/@ls-lint/ls-lint.svg?sanitize=true" alt="License"></a>
- Minimal setup with simple rules managed in one single or multiple
.ls-lint.yml
files - Works for directory and file names - all extensions supported - full unicode support
- Incredibly fast - lints thousands of files and directories in milliseconds
- Support for Windows, MacOS and Linux + NPM Package + GitHub Action + Homebrew + Docker
- Almost zero third-party dependencies (only go-yaml and doublestar)
Documentation
The full documentation can be found at ls-lint.org
Demo
Configuration .ls-lint.yml
ls:
.js: snake_case
.ts: snake_case | camelCase
.d.ts: PascalCase
.html: regex:[a-z0-9]+
ignore:
- node_modules
Result
<img src="https://i.imgur.com/pxXkYcl.gif" alt="command" width="600">Discord
Join the ls-lint discord server
Sponsors
<a href="https://jetbrains.com"><img height="130" src="https://resources.jetbrains.com/storage/products/company/brand/logos/jb_beam.png?_ga=2.249742848.788370738.1691416665-1384286648.1691416665" alt="jetbrains"></a>
Logo
Logo created by Studio Ajot
License
ls-lint is open-source software licensed under the MIT license.