0.0.5 • Published 3 years ago

@iqb/eslint-config-typescript v0.0.5

Weekly downloads
-
License
ISC
Repository
github
Last release
3 years ago

eslint-config-typescript

ESLint rules for typescript development, with rules agreed by IQB developers.

Installation

Put the following lines in your package.json.

"eslintConfig": {
  "extends": "@iqb/eslint-config-typescript"
},

Run on command line:

npm install @iqb/eslint-config-typescript --save-dev

Troubleshooting

In case you are not using Solution Style tsconfig.json files (older Angular versions do this), add parserOptions/project to your package.json and make sure the path points to your main tsconfig.json file.

"eslintConfig": {
  "extends": "@iqb/eslint-config-typescript",
  "parserOptions": {
    "project": "./tsconfig.json"
  }
},