ESLint
A tool that reads JavaScript and TypeScript code and reports likely bugs and style problems before the code runs.
In more detail
ESLint is the usual linter in JavaScript projects. Its rules are set in a config file, and a team can share one config so every app in a repository is checked the same way. Many rules can also fix the problems they find automatically.
Example
React projects use eslint-plugin-react-hooks to enforce the Rules of Hooks and check dependency arrays.Related terms
- linter — A tool that reads code or configuration without running it and flags likely mistakes and style problems.
- monorepo — A single version-control repository that holds several related projects, such as a web app, an API and their shared libraries.
- eslint-plugin-react-hooks — The official ESLint plugin that checks React code for Rules of Hooks violations and incomplete dependency arrays.
Taught in
- Monorepo Architecture: Workspaces & Turborepo — Production Full-Stack Engineering
- Rules of Hooks: Call Order, Hook Lists, And Fiber Storage — React 19 & Modern Component Architecture