@wolox/eslint-config-typescript
v4.0.0
Published
Wolox's ESLint typescript configuration
Downloads
23
Readme
@wolox/eslint-config-typescript
Wolox's default ESLint Typescript configuration
Dependencies
We use eslint as our linter.
Also, this configuration relies on some peer dependencies you must add in your project as dev dependencies:
- eslint-plugin-import
- eslint-plugin-babel
- eslint-import-resolver-typescript
- @typescript-eslint/parser
- @typescript-eslint/eslint-plugin
Make sure you check that the version you install in your project matches the one in this configuration's package.json
Usage
To use this config, make your eslint config extend from this configuration:
{
// In case you want to use more than one config, you can compose it
// using an array of configurations instead of this string
"extends": "@wolox/eslint-config-typescript",
"rules": {
// You can override any rule here.
}
}
Note that we use this configuration with @wolox/eslint-config. Although it is recommended to do so, it's not mandatory.