1.0.1 • Published 2 years ago

@whydnxx/dobby v1.0.1

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

Installing

Add eslint@^7 and @whydnxx/dobby as a (dev) dependency:

# using npm
npm install --save-dev eslint@^7 @whydnxx/dobby

# using yarn
yarn add --dev eslint@^7 @whydnxx/dobby

Note: @whydnxx/dobby uses ESLint version 7, and will upgrade to version 8 until all upstream dependencies are updated to also use version 8.

Usage

Add @whydnxx/dobby in your ESLint configuration:

module.exports = {
  extends: [
    "@whydnxx/dobby",
    // ...
  ],
};

For React projects

module.exports = {
  extends: [
    "@whydnxx/dobby/react",
    // ...
  ],
};

For Next.js projects*

*) Add eslint-config-next as dev dependency

module.exports = {
  extends: [
    "@whydnxx/dobby/react",
    "plugin:@next/next/recommended",
    // ...
  ],
};