0.0.5 • Published 3 years ago
@iqb/eslint-config-typescript v0.0.5
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"
}
},