Update to TypeScript 4
This commit is contained in:
parent
0cd1362b05
commit
5a82dd6a18
8 changed files with 286 additions and 94 deletions
|
@ -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"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue