1.0.0 • Published 1 year ago

@azul-tecnologia/eslint-config v1.0.0

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

ESLint config

What's included?

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

Setup

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

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