Skip to content

teacodeio/eslint-config-teacode-node

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

Teacode eslint config for node

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published