Glossary

Linting

A linter is a static analysis tool that automatically finds potential errors, style violations, and suspicious code before execution. The name comes from the lint utility for C (1978).

What it checks

Popular linters

Linter vs Formatter

A linter finds problems; a formatter fixes formatting automatically (Prettier, php-cs-fixer). They are often run together in pre-commit hooks.