@locastic/eslint-config-react-ts
v1.0.0
Published
Locastic's ESLint React TypeScript rules
Readme
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 @locastic/eslint-config-react-tsExtend your ESLint config:
{ "extends": "@locastic/eslint-config-react-ts", "overrides": [ { "files": ["*.ts", "*.tsx"], "parserOptions": { "project": ["./tsconfig.json"] } } ], "parser": "@typescript-eslint/parser" }
License
The MIT License
