Intro

ESLint is a linter for ES6 and JS modules. Can be installed as a dependency in your Node project using npm.

Then configure the rules in the .eslintrc.json file.

Usage

To enforce the rules, you can run lint: eslint . to scan the entire codebase.

Fix violations using the --fix flag


References