@dooboo/eslint-config-node
v1.4.3
Published
ESLint config for node.js
Downloads
53
Readme
@dooboo/eslint-config-node
Installation
yarn add -D eslint @dooboo/eslint-config-node prettier
Note: We're using
yarn
to install deps. Feel free to change commands to usenpm
3+ andnpx
if you like.
Usage
Add to your eslint config (.eslintrc
, or eslintConfig
field in package.json
):
{
"extends": "@dooboo/eslint-config-node"
}
For yarn berry user
Extra installation required for user who use yarn berry (pnp). They do not install dependencies in packages.
yarn add -D prettier @typescript-eslint/eslint-plugin @typescript-eslint/parser eslint-config-prettier eslint-plugin-eslint-comments eslint-plugin-prettier