linter
A linter is a tool that analyzes source code without running it to flag style violations and likely errors.
A linter is a tool that statically analyzes source code, without running it, to flag style violations, unused variables and constructs that are likely to cause errors. The name comes from lint, a C code checker for Unix from the 1970s.
Each language has its own common tools, such as ESLint for JavaScript and Ruff for Python, and linters are often run automatically when code is saved or committed, or as part of continuous integration.
This entry is based on AIPOST articles and widely known facts. If something is wrong, please send us a correction request.