@takanome/eslint-config

1.0.6 • Public • Published

@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.

Package Sidebar

Install

npm i @takanome/eslint-config

Weekly Downloads

1

Version

1.0.6

License

MIT

Unpacked Size

5.92 kB

Total Files

5

Last publish

Collaborators

  • takanome_dev