1.4.2 • Published 2 months ago

@1f8/eslint-config-typescript v1.4.2

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

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

You can add these scripts in to lint

"scripts": {
  "lint": "eslint .",
  "lint:fix": "eslint . --fix"
}

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

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

2 months ago

1.4.1

2 months ago

1.4.0

1 year ago

1.3.0

1 year ago

1.3.1

3 years ago

1.2.1

3 years ago

1.2.0

3 years ago

1.1.0

4 years ago

1.0.9

4 years ago

1.0.8

4 years ago