@minozzzi/eslint-config

0.0.2 • Public • Published

ESLint config

Whats included?

  • React plugin;
  • React Hooks plugin;
  • Prettier;
  • JSX a11y plugin;
  • Import plugin;
  • @Typescript-eslint plugin;
  • And more!!

And amazing eslint rules

Setup

1. Install the dependencies

npm i -D eslint @minozzzi/eslint-config

or if you use yarn

yarn add -D eslint @minozzzi/eslint-config

or if you use pnpm

pnpm i -D eslint @minozzzi/eslint-config

2. Create a .eslintrc.json file extending the config

{
  "extends": "@minozzzi/eslint-config/node"
}

OR

{
  "extends": "@minozzzi/eslint-config/react"
}

OR

{
  "extends": "@minozzzi/eslint-config/next"
}

You can also use a .eslintrc.js instead of JSON if you prefer.

/@minozzzi/eslint-config/

    Package Sidebar

    Install

    npm i @minozzzi/eslint-config

    Weekly Downloads

    1

    Version

    0.0.2

    License

    MIT

    Unpacked Size

    10.6 kB

    Total Files

    12

    Last publish

    Collaborators

    • minozzzi