1.0.0 • Published 2 years ago

@paylivre/eslint-config v1.0.0

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

Paylivre ESLint config

Whats included?

  • Airbnb config base;
  • React plugin;
  • React Hooks plugin;
  • Prettier;

Setup

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

or

{
  "extends": "@paylivre/eslint-config/reactTS"
}

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