@digitpaint/eslint-config-typescript
v1.0.7
Published
ESLinting for TypeScript projects
Downloads
33
Readme
ESLint | TypeScript
ESLinter configs for typescript
About ESLint shareable configs
https://eslint.org/docs/developer-guide/shareable-configs
How to use this package
Make sure you have a working ESLint setup in your project
Install package
npm install @digitpaint/eslint-config-typescript
Include config in your ESLint config
Add the following to your eslint config
{
"extends": "@digitpaint/eslint-config-typescript"
}
Example:
{
"env": {
"browser": true,
"es2021": true
},
"extends": "@digitpaint/eslint-config-typescript",
"parserOptions": {
"ecmaVersion": 12,
"sourceType": "module",
"project": "./tsconfig.json"
},
}