1.2.0 • Published 5 months ago

@ivopr/eslint-config v1.2.0

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

Ivo's ESLint config

Whats included?

  • Standard config base;
  • React plugin;
  • React Hooks plugin;
  • JSX a11y plugin;
  • Prettier;
  • Import Sort

Setup

  1. Install the dependencies
npm i -D eslint @ivopr/eslint-config
  1. Create a .eslintrc.json file extending the config:
{
  "extends": "@ivopr/eslint-config/react"
  // "extends": "@ivopr/eslint-config/node"
}

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