Clean Code

Clean Code: ESLint and Prettier for a Node Project.

Updated

  1. ESLint and Prettier for a Node Project (Journeyman): 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.