Releases: johanneslatzel/check-line-limits
Releases · johanneslatzel/check-line-limits
Release list
v1.0.1
The npmjs dist-tag pointed to v0.1.0 instead of v1.0.0. This is just a re-publish to fix that.
Full Changelog: https://github.com/johanneslatzel/check-line-limits/commits/v1.0.1
v1.0.0
initial release with:
Features
check-line-limitsCLI counts SLOC per file, prints warnings to stderr, and exits1when a file reaches theerrorthresholdline-limits.jsonconfig with optionalwarn(default500) anderror(default1000) thresholds,scanDirs(default["src", "tests"]),skipDirs, andexcludeskipDirsprunes directories by name at any depth before files are enumerated (default:node_modules,.git,dist,coverage)excludepatterns drop files by shape (default:**/*.d.ts,**/*.generated.*)--warn <n>/--error <n>override the thresholds,--config <path>selects another config file--jsonprints{ warn, error, hasErrors, files }for CI pipelines- library API exports
checkLineLimits(),loadConfig(), and theLineLimitsConfig,FileResult, andCheckResulttypes
Internal
- docs: MkDocs Material documentation site
- CI: lint, tests with coverage, Codecov upload
- publish workflow:
npm publishruns when a GitHub release is published
Full Changelog: https://github.com/johanneslatzel/check-line-limits/commits/v1.0.0