als260502 / lint-package

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

#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 @buzzvel/lint-config
  1. Create a .eslintrc.json file extending the config:
{
  "extends": "@buzzvel/lint-config/react"
  // "extends": "@buzzvel/lint-config/node"
}

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

About


Languages

Language:JavaScript 100.0%