1.2.0 • Published 3 years ago
@cdfortes/eslint-config v1.2.0
cdfortes ESLint config
Whats included?
- Standard config base;
- React plugin;
- React Hooks plugin;
- JSX a11y plugin;
- Prettier;
Setup
- Install the dependencies
npm i -D eslint @cdfortes/eslint-configor
yarn add -D eslint @cdfortes/eslint-config- Create a
.eslintrc.jsonfile extending the config:
{
"extends": "@cdfortes/eslint-config/react"
}You can also use a
.eslintrc.jsinstead of JSON if you prefer.
1.2.0
3 years ago