Promptles
Testing & Quality

Linting

beginner

Definition

Automatic proofreading for code. A linter scans through the source files and flags stylistic mistakes, suspicious patterns, and likely bugs: without actually running the code. It catches the small problems early, before they reach reviewers or tests.

In the wild

A developer leaves a stray bit of leftover debug code in a file before pushing it. The linter notices it during the team's automatic check, marks the line, and tells him to remove it. The cleanup happens before any teammate ever sees the messy code.

More from Testing & Quality