0.0.3 • Published 8 months ago

@redduck/eslint-plugin v0.0.3

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

@redduck/eslint-plugin

ESLint plugin which RedDuck Software uses in its projects.

How to install

  • npm

    npm install @redduck/eslint-plugin eslint -D
  • yarn

    yarn add @redduck/eslint-plugin eslint -D
  • pnpm

    pnpm add @redduck/eslint-plugin eslint -D

How to use

Upgrade your .eslintrc.json file to extend this plugin:

  • In TypeScript projects:

    {
      "extends": ["plugin:@redduck/recommended"],
      "plugins": ["@redduck"],
      // Your other options
    }
  • In React projects:

    {
      "extends": ["plugin:@redduck/recommended-react"],
      "plugins": ["@redduck"],
      // Your other options
    }