3.0.4 • Published 11 months ago

@1f8/eslint-config-typescript-nodejs v3.0.4

Weekly downloads
-
License
MIT
Repository
github
Last release
11 months 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

This package needs Node.js (^18.18.0, ^20.9.0, or >=21.1.0) Uses Eslint ^9.16.0

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 eslint.config.js

You can add these scripts in to lint

"scripts": {
  "lint": "eslint --ignore-pattern .gitignore",
  "lint:fix": "eslint --ignore-pattern .gitignore --fix",
}

You can overwrite rules to fit your needs by changing the eslint.config.js

import f8eslintConfigTypescriptNodeJS from '@1f8/eslint-config-typescript-nodejs'

export default [
  f8eslintConfigTypescriptNodeJS,
  {
    rules: {
      'no-console': 'off',
    }
  }
]
3.0.4

11 months ago

3.0.3

11 months ago

3.0.2

11 months ago

3.0.1

11 months ago

3.0.0

11 months ago

1.4.1

3 years ago

1.4.0

3 years ago

1.1.0

4 years ago

1.0.0

5 years ago

0.0.8

5 years ago

0.0.4

5 years ago

0.0.7

5 years ago

0.0.6

5 years ago

0.0.1

5 years ago