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

Taught in

References