Skip to content
← Back to Glossary

Linter

software-engineering tooling

A static analysis tool that checks source code against a set of rules and reports violations, enforcing constraints mechanically rather than probabilistically.

↑ Contents

Definition

A linter scans code without executing it and flags patterns that violate configured rules — style issues, potential bugs, or architectural violations. Unlike AI behavioral rules, linter rules are binary: a violation either passes or fails, with no probability involved. In AI-assisted development, linters represent the enforcement layer that CLAUDE.md rules cannot provide. Rules guide the model during generation; linters catch what the model missed after generation. The two are complementary.

↑ Contents

Source

↑ Contents