1.0.1 • Published 3 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-configUsing yarn:
yarn add -D eslint @br24/eslint-config- Create a
.eslintrc.jsonfile extending the config:
{
"extends": "@br24/eslint-config/react"
}You can also use a
.eslintrc.jsinstead of JSON if you prefer.