0.0.2 • Published 5 years ago
eslint-config-roboleary-node v0.0.2
ESLint and Prettier Config
These are my settings for using ESLint and Prettier happily together for a Node environment.
What it does
This setup uses ESLint for catching bugs, and Prettier for formatting.
The basis for the rules is eslint-config-airbnb-base
. It uses the eslint-config-prettier
to turn off the ESLint rules that conflict or are unnecessary when using Prettier.
Installation and usage
Run the command below:
npx install-peerdeps -D eslint-config-roboleary-node
To use the config, add a .eslintrc.json to your project root directory like below:
{
"extends": ["roboleary-node"]
}