@johannes.latzel/check-line-limits
v1.0.1
Published
CLI tool and library to enforce per-file SLOC limits in projects
Maintainers
Readme
@johannes.latzel/check-line-limits
CLI tool and library for enforcing per-file SLOC (Source Lines of Code) limits in TypeScript/JavaScript projects. Uses the sloc package to count source lines of code accurately.
Disclaimer: This package was written entirely by AI. Use at your own risk.
Features
- per-file SLOC limits with
warnanderrorthresholds - configurable scan directories
- library API for programmatic use
Prerequisites
- Node.js >= 20.9
Installation
npm install @johannes.latzel/check-line-limitsDocumentation
Full documentation at johanneslatzel.github.io/check-line-limits/
License
MIT. See LICENSE.
Contributing
Issues and PRs welcome at github.com/johanneslatzel/check-line-limits.
