eslint-config-teacode-node
v1.0.3
Published
Teacode eslint config for node
Downloads
1,650
Maintainers
Readme
eslint-config-teacode-node
For Node. To see for React version check eslint-config-teacode
Setup
install:
npm i eslint-config-teacode-node -D
# or
yarn add eslint-config-teacode-node -D
Add to package.json
:
{
"prettier": "eslint-config-teacode-node/prettier",
"devDependencies": {
"eslint": "^7.0.0 || ^8.0.0",
"eslint-config-teacode-node": "^1",
"typescript": "*"
}
}
Config require both eslint
and typescript
to be installed.
Add .eslintrc
:
{
"extends": ["eslint-config-teacode-node"]
}
overriding
Both Prettier and Eslint rules might depend on developers preferences.
Instructions how to change prettier rules can be found here,
and eslint rules are easily modifiable by adding rules
in .eslintrc
.