1.4.1 • Published 1 year ago

@1f8/eslint-config-typescript-nodejs v1.4.1

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year ago

ESlint TYPESCRIPT Setup for 1F8

Helps you with styling your code. Don't believe there's any correct way, but this way fits our style.

NPM

Instructions

yarn add -D @1f8/eslint-config-typescript-nodejs
npx install-peerdeps --dev @1f8/eslint-config-typescript-nodejs --yarn
cp node_modules/@1f8/eslint-config-typescript-nodejs/next.eslintrc.js .eslintrc.js

You can add these scripts in to lint

"scripts": {
  "lint": "eslint --ignore-path .gitignore --ext ts .",
  "lint:fix": "eslint --ignore-path .gitignore --ext ts . --fix",
}

You can overwrite rules to fit your needs by changing the eslintfile

{
  "extends": [
    "@1f8/eslint-config-typescript-nodejs"
  ],
  "rules": {
    "no-console": false,
  }
}
1.4.1

1 year ago

1.4.0

1 year ago

1.1.0

3 years ago

1.0.0

3 years ago

0.0.8

3 years ago

0.0.4

3 years ago

0.0.7

3 years ago

0.0.6

3 years ago

0.0.1

3 years ago