@cafeedesign/eslint-config
v1.1.0
Published
ESLint configuration used by Cafe e Design.
Downloads
10
Readme
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 -Dwith yarn
yarn add eslint @cafeedesign/eslint-config -D- Create a
.eslintrc.jsonor file extending the config:
{
"extends": "@cafeedesign/eslint-config/react"
}You can also use a
.eslintrc.jsinstead of JSON if you prefer.
