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/eslint-plugin
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/eslint-plugin
{
"name": "my-awesome-project",
"xo": {
"extends": "xo-typescript",
"extensions": [
"ts"
]
}
}
Related
License
MIT © Sindre Sorhus