ESLint and Prettier for a Node Project

ESLint reads a Node project's code and reports likely mistakes, such as a variable nobody uses or a == that hides text from a URL, and Prettier lays out every file the same way, so you set both up once with a flat config, globals.node and npm scripts.

By

Updated

Cheat sheet: ESLint and Prettier for a Node Project
Category
Node.js
Level
Journeyman
Tags
ESLint, Flat Config, Linter, nodejs, npm scripts, Prettier, software-development