eslint-config-xo-typescript
ESLint shareable config for TypeScript to be used with eslint-config-xo
Install
$ npm install --save-dev eslint-config-xo eslint-config-xo-typescript typescript-eslint-parser eslint-plugin-typescript
Usage
Add some ESLint config to your package.json:
{
"name": "my-awesome-project",
"eslintConfig": {
"extends": ["xo", "xo-typescript"]
}
}
Or to .eslintrc:
{
"extends": ["xo", "xo-typescript"]
}
Tip
Use with XO
$ npm install --save-dev eslint-config-xo-typescript typescript-eslint-parser eslint-plugin-typescript
{
"name": "my-awesome-project",
"xo": {
"extends": "xo-typescript"
}
}
Related
License
MIT © Sindre Sorhus