@azimutlabs/eslint-config-typescript
v1.0.3
Published
ESLint configuration for TypeScript
Downloads
77
Readme
Installation
Add peer dependencies:
$ yarn add -D eslint typescript @typescript-eslint/parser @typescript-eslint/eslint-plugin
...then install config packages:
$ yarn add -D @azimutlabs/eslint-config-typescript
Usage
{
// package.json
"eslintConfig": {
"extends": [
"@azimutlabs/eslint-config-typescript",
// WARNING.
// Requires tsconfig to be presented in `parserOptions.project`.
// May cause performance problems, so we don't recommend adding it right away.
"@azimutlabs/eslint-config-typescript/with-type-check"
]
}
}
Contributing
Any PR is welcomed by our @js-opensource team. Check out our contributing guidelines for more info.