What is Linting?
Also called: Linter, ESLint
The short answer
Linting is automatically checking code for errors, risky patterns and style problems before it runs, using a tool like ESLint.
Linting, explained
Linters and type checkers are cheap, fast guards that catch whole classes of bugs, including many AI-generated ones.
Questions people ask about Linting
What is Linting?
Linting is automatically checking code for errors, risky patterns and style problems before it runs, using a tool like ESLint.
Related terms
TypeScript is JavaScript with types: it checks code before it runs, catching mistakes like passing the wrong data to a function, then compiles to plain JavaScript.
Automated testingAutomated tests are code that checks other code: unit tests check small functions, and end-to-end tests drive a real browser through whole user flows.
Code reviewCode review is having someone other than the author read a change before it merges, to catch bugs, security issues and unclear code.
DOMThe DOM is the browser's live, tree-shaped model of a web page; JavaScript reads and changes the DOM to update what visitors see.
Part of the Web Encyclopedia by Apex Flow Digital. Definitions are general knowledge, kept current, with no invented statistics.