In computer programming, a linter is a program that scans source code and flags any constructs that are likely to be bugs. The term comes from the Linux program, lint, which is used for this purpose with the C programming language.
Wikipedia says the following:
In computer programming, lint is a Unix utility that flags some suspicious and non-portable constructs (likely to be bugs) in C languagesource code; generically, lint or a linter is any tool that flags suspicious usage in software written in any computer language. The term lint-like behavior is sometimes applied to the process of flagging suspicious language usage. Lint-like tools generally perform static analysis of source code.