Eslint Config
Getting started
Install the package and related peerDependencies as devDependencies
:
npm install --save-dev @repeale/eslint-config @typescript-eslint/eslint-plugin @typescript-eslint/parser eslint-config-prettier eslint-plugin-prettier eslint-plugin-react eslint prettier typescript
or
yarn add --dev @repeale/eslint-config @typescript-eslint/eslint-plugin @typescript-eslint/parser eslint-config-prettier eslint-plugin-prettier eslint-plugin-react eslint prettier typescript
Extend @repeale/eslint-config
in your .eslintrc
file with one of the available configurations:
{
"extends": "@repeale/eslint-config/react-ts-prettier"
}
Configs
- @repeale/eslint-config/react-ts-prettier
- @repeale/eslint-config/ts-prettier