@infinumjs/eslint-config-react-ts
v3.4.0
Published
Infinum's ESLint React TypeScript rules
Downloads
1,254
Keywords
Readme
eslint-config-react-ts
This package provides Infinum's ESLint React TypeScript shareable config.
Usage
Install the required packages:
npm install --save-dev eslint eslint-plugin-jsx-a11y eslint-plugin-react eslint-plugin-react-hooks @typescript-eslint/eslint-plugin @typescript-eslint/parser @infinumjs/eslint-config-react-ts
Extend your ESLint config:
{ "extends": "@infinumjs/eslint-config-react-ts", "overrides": [ { "files": ["*.ts", "*.tsx"], "parserOptions": { "project": ["./tsconfig.json"] } } ], "parser": "@typescript-eslint/parser" }
License
The MIT License
Credits
@infinumjs/eslint-config-react-ts is maintained and sponsored by Infinum.