Installation
You can use the following command to install this package, or replace npm install
with your package manager of choice.
npm install @joshdb/ts-config
Usage
Add the ESLint config to your package.json
:
{
"name": "my-project",
"eslintConfig": {
"extends": "@joshdb/ts-config"
}
}
Or to your .eslintrc.js
/ .eslintrc.json
:
{
"extends": "@joshdb/ts-config"
}
Create tsconfig.eslint.json
next to the eslint config file, for example with content:
{
"extends": "./tsconfig.base.json",
"include": ["src", "tests"]
}