@takanome/eslint-config-typescript
v1.0.7
Published
ESLint config used by takanome-dev
Downloads
23
Maintainers
Readme
@takanome/eslint-config-typescript
This package contains eslint configs for my projects that use TypeScript. It's based on the following packages:
- @takanome/eslint-config-base
- @typescript-eslint/eslint-plugin
- @typescript-eslint/parser
- eslint-config-airbnb-typescript
These are TypeScript-specific configs that are not included in the base config.
💻 Usage
First, install the package:
npm i -D @takanome/eslint-config-typescript
Then, create a .eslintrc
file in the root of your project and extend the base config:
{
"extends": "@takanome/eslint-config-typescript"
/// ...
}
If you find annoying eslint errors you want to turn off, you can override the rules in your .eslintrc
file:
{
"extends": "@takanome/eslint-config-typescript",
"rules": {
"no-console": "off"
}
}
⚖️ License
This project is licensed under the terms of the MIT license.