eslint-config-typescript
This package provides Typescript .eslintrc
as an extensible shared config.
Usage
It requires:
@typescript-eslint/eslint-plugin
@typescript-eslint/parser
eslint
- Install the correct versions of each package, which are listed by the command:
npm info "@jeansarlon/eslint-config-typescript" peerDependencies
Which produces and runs a command like:
npm install --save-dev @jeansarlon/eslint-config-typescript @typescript-eslint/eslint-plugin@^
#.#.# @typescript-eslint/parser@^#.#.# eslint@^#.#.#
- Add
extends: '@jeansarlon/eslint-config-typescript'
to your project's.eslintrc
.