Skip to main content

ESLint

Recommendation
Updated
Moved
USE
2021-09-15

What is it

ESLint is a linting tool for identifying and reporting patterns found in ECMAScript code, with the aim of avoiding bugs and making code more consistent.

When to use it

Use ESLint in all frontend projects. See @einride/eslint-plugin for Einride's default overridable ESLint configuration, with usage instructions in its README. The plugin should be used together with Prettier and @einride/prettier-config, which will turn Prettier errors into ESLint errors.

How to learn it

Learn ESLint in the official documentation.