Prettier and linter

Prettier and ESLint usage

To perform formatting with Prettier and checking for errors with ESLint, install the ESLint and Prettier - Code formatter extensions for Visual Studio Code. Check here for more info.

ESLint can scan the entire codebase for errors using: npm lint

Code formatting can be done in two ways:

  • For the current file CTRL + MAIUSC + I

  • For the entire codebase npm run format

Last updated