1.0.6 • Published 7 months ago

@takanome/eslint-config v1.0.6

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

@takanome/eslint-config

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

These configs can be used for Next.js projects that use TypeScript as well as React.

💻 Usage

First, install the package:

npm i -D @takanome/eslint-config

Then, create a .eslintrc file in the root of your project and extend the base config:

{
  "extends": "@takanome/eslint-config"
  /// ...
}

If you find annoying eslint errors you want to turn off, you can override the rules in your .eslintrc file:

{
  "extends": "@takanome/eslint-config",
  "rules": {
    "@typescript-eslint/no-unused-vars": "off"
  }
}

⚖️ License

This project is licensed under the terms of the MIT license.