ls-lint
« Back to VersTracker
Description:
Extremely fast file and directory name linter
Type: Formula  |  Tracked Since: Dec 28, 2025
Links: Homepage  |  formulae.brew.sh
Category: Developer tools
Tags: linter developer-tools go naming-conventions productivity
Install: brew install ls-lint
About:
ls-lint is an extremely fast linter for file and directory naming conventions. It enforces custom rules to ensure consistent and predictable naming across your project structure. This helps maintain codebase hygiene and improves team collaboration by standardizing naming patterns.
Key Features:
  • Written in Go for blazing fast execution speeds
  • Declarative configuration via a .ls-lint.yml file
  • Supports separate linting rules for files and directories
  • Zero dependencies and easy integration into CI/CD pipelines
Use Cases:
  • Enforcing naming conventions in large codebases
  • Pre-commit hooks to catch naming errors early
  • Standardizing infrastructure-as-code directory structures
Alternatives:
  • pre-commit – A framework for managing git hooks, whereas ls-lint is a specific tool focused solely on file naming.
  • editorconfig – Standardizes file formatting (indentation, encodings), while ls-lint focuses on the names of the files themselves.
Version History
Detected Version Rev Change Commit
Sep 16, 2025 7:05am 0 VERSION_BUMP a5c3979c
Sep 14, 2024 3:29pm 0 VERSION_BUMP fa53752f