1.1.6 • Published 1 year ago

@pemonter/eslint-config v1.1.6

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year ago

ESLint config

Whats included?

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

Setup

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

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