Update to TypeScript 4

This commit is contained in:
Dane Everitt 2021-05-08 10:37:18 -07:00
parent 0cd1362b05
commit 5a82dd6a18
No known key found for this signature in database
GPG key ID: EEA66103B3D71F53
8 changed files with 286 additions and 94 deletions

View file

@ -76,6 +76,13 @@ rules:
- 1
- "line-aligned"
"react/jsx-closing-tag-location": 1
# This setup is required to avoid a spam of errors when running eslint about React being
# used before it is defined.
#
# see https://github.com/typescript-eslint/typescript-eslint/blob/master/packages/eslint-plugin/docs/rules/no-use-before-define.md#how-to-use
no-use-before-define: 0
"@typescript-eslint/no-use-before-define":
- warn
overrides:
- files:
- "**/*.tsx"