1.0.1 • Published 2 years ago
@br24/eslint-config v1.0.1
Br24 ESLint config
Whats included?
- Standard config base;
- React plugin;
- React Hooks plugin;
- JSX a11y plugin;
- Prettier;
Setup
- Install the dependencies:
Using npm
:
npm i -D eslint @br24/eslint-config
Using yarn
:
yarn add -D eslint @br24/eslint-config
- Create a
.eslintrc.json
file extending the config:
{
"extends": "@br24/eslint-config/react"
}
You can also use a
.eslintrc.js
instead of JSON if you prefer.