Skip to content

Commit

Permalink
Upgrade TypeScript eslint
Browse files Browse the repository at this point in the history
  • Loading branch information
ehmicky committed May 7, 2023
1 parent 05cc828 commit 31d2d50
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 4 deletions.
4 changes: 4 additions & 0 deletions .eslintrc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -1339,6 +1339,7 @@ overrides:
# `type` is useful
'@typescript-eslint/no-type-alias': 0
'@typescript-eslint/no-redundant-type-constituents': 2
'@typescript-eslint/no-duplicate-type-constituents': 2

## Base types
'@typescript-eslint/no-explicit-any':
Expand Down Expand Up @@ -1374,6 +1375,7 @@ overrides:
'@typescript-eslint/no-duplicate-enum-values': 2
'@typescript-eslint/no-mixed-enums': 2
'@typescript-eslint/no-unnecessary-qualifier': 2
'@typescript-eslint/no-unsafe-enum-comparison': 2

## Readonly
'@typescript-eslint/prefer-as-const': 2
Expand Down Expand Up @@ -1547,6 +1549,7 @@ overrides:
'@typescript-eslint/no-misused-promises': 0
'@typescript-eslint/no-mixed-enums': 0
'@typescript-eslint/non-nullable-type-assertion-style': 0
'@typescript-eslint/no-duplicate-type-constituents': 0
'@typescript-eslint/no-redundant-type-constituents': 0
'@typescript-eslint/no-throw-literal': 0
'@typescript-eslint/no-unnecessary-boolean-literal-compare': 0
Expand All @@ -1557,6 +1560,7 @@ overrides:
'@typescript-eslint/no-unsafe-argument': 0
'@typescript-eslint/no-unsafe-assignment': 0
'@typescript-eslint/no-unsafe-call': 0
'@typescript-eslint/no-unsafe-enum-comparison': 0
'@typescript-eslint/no-unsafe-member-access': 0
'@typescript-eslint/no-unsafe-return': 0
'@typescript-eslint/prefer-includes': 0
Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,8 @@
"sinon": "^15.0.4"
},
"peerDependencies": {
"@typescript-eslint/eslint-plugin": "^5.55.0",
"@typescript-eslint/parser": "^5.55.0",
"@typescript-eslint/eslint-plugin": "^5.59.5",
"@typescript-eslint/parser": "^5.59.5",
"eslint": "^8.40.0",
"eslint-config-prettier": "^8.8.0",
"eslint-config-standard": "^17.0.0",
Expand Down

0 comments on commit 31d2d50

Please sign in to comment.