Package Exports
- @axellero/eslint-config-typescript
- @axellero/eslint-config-typescript/index.js
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@axellero/eslint-config-typescript) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
@axellero/eslint-config-typescript
ESLint configuration for TypeScript
Installation
Add peer dependencies:
$ yarn add -D eslint typescript @typescript-eslint/parser @typescript-eslint/eslint-plugin...then install config packages:
$ yarn add -D @axellero/eslint-config-typescriptUsage
{
// package.json
"eslintConfig": {
"extends": [
"@axellero/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.
"@axellero/eslint-config-typescript/with-type-check"
]
}
}Contributing
Any PR is welcomed by our @js-opensource team. Check out our contributing guidelines for more info.