Linter
A static code analysis tool that checks code style and common errors according to fixed rules and produces deterministic, predictable output.
Timeline (last 90 days)
A linter is a static checking tool that scans source code without executing it and finds suspicious patterns and style violations.
Linters perform static analysis to find potential errors and bad patterns, while formatters only handle purely typographic issues such as whitespace, indentation, quotes and line breaks.
All Facts (4)
A linter is a static checking tool that scans source code without executing it and finds suspicious patterns and style violations.
50%UnverifiedLinters perform static analysis to find potential errors and bad patterns, while formatters only handle purely typographic issues such as whitespace, indentation, quotes and line breaks.
50%UnverifiedHard constraints (architecture design, linters, CI, compilers) are superior to soft constraints (prompts, memory, skills) for ensuring Agent code quality, because hard constraints are machine-enforced and cannot be circumvented.
50%UnverifiedWhen the same suggestion is repeatedly given to an Agent, that suggestion should be codified as a linter rule or CI check, upgrading it from a soft constraint to a hard constraint.
50%