Skip to content

Commit ea8866b

Browse files
chore(deps): update typescript-eslint monorepo to v8 (major) (#257)
1 parent 2814c12 commit ea8866b

File tree

4 files changed

+63
-114
lines changed

4 files changed

+63
-114
lines changed

.eslintrc.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,9 @@
6868
"parser": "@typescript-eslint/parser",
6969
"rules": {
7070
"@typescript-eslint/adjacent-overload-signatures": "error",
71-
"@typescript-eslint/ban-types": "error",
71+
"@typescript-eslint/no-empty-object-type": "error",
72+
"@typescript-eslint/no-unsafe-function-type": "error",
73+
"@typescript-eslint/no-wrapper-object-types": "error",
7274
"@typescript-eslint/no-misused-new": "error",
7375
"@typescript-eslint/consistent-type-definitions": ["error", "interface"],
7476
"@typescript-eslint/array-type": [

package-lock.json

Lines changed: 57 additions & 110 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,8 +60,8 @@
6060
"@rollup/plugin-typescript": "^11.1.6",
6161
"@types/events": "^3.0.0",
6262
"@types/jest": "^29.5.12",
63-
"@typescript-eslint/eslint-plugin": "^7.6.0",
64-
"@typescript-eslint/parser": "^7.6.0",
63+
"@typescript-eslint/eslint-plugin": "^8.6.0",
64+
"@typescript-eslint/parser": "^8.6.0",
6565
"eslint": "^8.18.0",
6666
"eslint-config-prettier": "^9.1.0",
6767
"eslint-plugin-import": "^2.29.1",

src/utils/BigFlagUtils.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ function checkBrowserSupportsBigInt(): boolean {
2121
// eslint-disable-next-line @typescript-eslint/no-unused-expressions
2222
BigInt;
2323
return true;
24-
} catch (e) {
24+
} catch {
2525
return false;
2626
}
2727
}

0 commit comments

Comments
 (0)