1.0.0 • Published 3 years ago
@locastic/eslint-config-react-ts v1.0.0
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-ts
Extend 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
1.0.0
3 years ago