Skip to content

Origin

"Lint" was chosen in 1978 by Stephen C. Johnson at Bell Labs because his C checker picked up small, unwanted bits of code the way lint picks up fabric fibers.

The first linter was written by Stephen C. Johnson at Bell Labs and published in July 1978 as Lint, a C Program Checker (Computer Science Technical Report 65). It scanned C source for constructs that the portable C compiler accepted but that were likely to be bugs: unused variables, inconsistent argument counts, unreachable code, suspicious type conversions. Johnson named it after the small fibers that cling to fabric. The metaphor stuck, and "lint" became the generic term for any static code checker.

The name "lint" was chosen because the program picked up the small bits of fluff that clung to a programmer's code the way lint clings to a suit.

— Stephen C. Johnson, quoted in *The Practice of Programming* (Kernighan & Pike, 1999)
1978 · año de publicación del lint original
1 · lenguaje objetivoC
200+ · reglas en linters modernos como ESLint
3 ms · tiempo típico de lint en un archivo medio