1.0.1 • Published 3 years ago
eslint-config-react-exhaustive v1.0.1
eslint-config-react-exhaustive
My ESLint, Prettier, TypeScript configuration for React Apps.
Peer deps
You need typescript and eslint, if they are not installed already.
yarn add -D eslint typescript
Installation
yarn add -D eslint-config-react-exhaustive
Usage
In .eslintrc
:
{
"extends": "react-exhaustive",
}
In tsconfig.json
:
{
"extends": "eslint-config-react-exhaustive/lib/tsconfig.base"
}