1.3.2 • Published 2 years ago
@gabpires/eslint-config v1.3.2
Whats included?
- Standard config base;
- React plugin;
- React Hooks plugin;
- JSX a11y plugin;
- Prettier;
Setup
- Install the dependencies
npm i -D eslint @gabpires/eslint-config- Create a
.eslintrc.jsonfile extending the config:
{
"extends": "@gabpires/eslint-config/react"
// "extends": "@gabpires/eslint-config/node"
}You can also use a
.eslintrc.jsinstead of JSON if you prefer.