1.1.0 • Published 3 years ago
@cafeedesign/eslint-config v1.1.0
Eslint Config for Cafe e Design
Whats included?
- Standard config base;
- React plugin;
- React Hooks plugin;
- JSX a11y plugin;
- Prettier;
Setup
- Install the dependencies
with npm
npm i eslint @cafeedesign/eslint-config -D
with yarn
yarn add eslint @cafeedesign/eslint-config -D
- Create a
.eslintrc.json
or file extending the config:
{
"extends": "@cafeedesign/eslint-config/react"
}
You can also use a
.eslintrc.js
instead of JSON if you prefer.