1.0.6 • Published 7 months ago

@takanome/eslint-config-typescript v1.0.6

Weekly downloads
-
License
MIT
Repository
github
Last release
7 months ago

@takanome/eslint-config-typescript

This package contains eslint configs for my projects that use TypeScript. It's based on the following packages:

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.