My reusable eslint config for typescript projects.
Note: This is most likely not what you want to use. Use eslint-config-pythoncoderas-combo
instead.
First, install the package via npm install --save-dev eslint-config-pythoncoderas-typescript
.
Then, in your .eslintrc file, add the following line:
{
"extends": [
"pythoncoderas-typescript"
]
}
In order to get prettier rules to apply, eslint-config-pythoncoderas
needs to be extended after
eslint-config-pythoncoderas-typescript
. An example .eslintrc file would look like this:
{
"extends": [
"pythoncoderas-typescript",
"pythoncoderas"
]
}