What problem does it solve?
Many codebases lack consistent, enforceable complexity limits and per-language linter configurations, which leads to hard-to-maintain code and unnoticed complexity regressions; lint-guard automates detection, recommendation, and enforcement of strict complexity rules so teams catch issues early.
Core Features & Use Cases
- Language detection across repositories to determine which linters are relevant.
- Recommendation and configuration of strict complexity rules per language and installation guidance for chosen linters.
- Lint-check mode that runs linters only on changed files, applies safe autofixes where configured, and reports non-autofixable complexity violations without modifying code.
- Project integration by generating .claude/linters.json and installing a Stop hook to run linters automatically after edits.
- Use Case: On a multi-language repo, run lint-guard to add strict complexity rules, install linters, and ensure future changes fail CI or developer checks when they exceed thresholds.
Quick Start
Run lint-guard to detect languages, recommend linters, and install strict complexity rules after you approve them.