1.1.2 • Published 4 months ago

@vinebarbosa/eslint-config v1.1.2

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

Vinícios Barbosa ESLint Configuration

ESLint configuration used by Vinícios Barbosa

Whats included?

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

Setup

  1. Install the dependencies
npm i -D eslint @vinebarbosa/eslint-config
  1. Create a .eslintrc.json file extending the config:
{
  "extends": "@vinebarbosa/eslint-config/react" // If you are using React
  // extends: ["next/core-web-vitals", "@vinebarbosa/eslint-config/next"] // If you are using NextJS
}

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