@paulhfischer/eslint-config-typescript-react
v1.29.4
Published
ESLint-config for typed React projects.
Downloads
330
Readme
eslint-config-typescript-react
ESLint-config for typed React projects. It is based on
and uses
to enable linting for more file types.
Usage
Install via
npm
:npm install --save-dev @paulhfischer/eslint-config-typescript-react --engine-strict
Note: The installation requires
npm
version 7 or higher (otherwise peer dependencies aren't installed automatically). Have a look at the.pre-commit-hooks.yaml
-file for a list of all peer-dependencies.Add the plugin to your eslint-config:
{ "extends": ["@paulhfischer/eslint-config-typescript-react"] }
Add the prettier configuration to your prettier-config:
"@paulhfischer/prettier-config"