Skip to content

Commit 4874460

Browse files
authored
Merge pull request #1529 from oasisprotocol/renovate/major-lint-dependencies
Update lint dependencies (major)
2 parents bf72984 + 6c1107b commit 4874460

3 files changed

Lines changed: 279 additions & 81 deletions

File tree

package.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -111,14 +111,14 @@
111111
"@types/valid-url": "1.0.4",
112112
"@types/w3c-web-usb": "1.0.6",
113113
"@types/webextension-polyfill": "0.10.1",
114-
"@typescript-eslint/eslint-plugin": "5.62.0",
115-
"@typescript-eslint/parser": "5.62.0",
114+
"@typescript-eslint/eslint-plugin": "6.0.0",
115+
"@typescript-eslint/parser": "6.0.0",
116116
"babel-plugin-istanbul": "6.1.1",
117117
"cypress": "12.17.1",
118118
"eslint": "8.44.0",
119119
"eslint-config-prettier": "8.8.0",
120120
"eslint-config-react-app": "7.0.1",
121-
"eslint-plugin-prettier": "4.2.1",
121+
"eslint-plugin-prettier": "5.0.0",
122122
"eslint-plugin-react": "7.32.2",
123123
"eslint-plugin-react-hooks": "4.6.0",
124124
"eslint-plugin-react-refresh": "0.4.3",
@@ -131,7 +131,7 @@
131131
"parcel": "2.9.3",
132132
"parcel-transformer-env-variables-injection": "0.1.2",
133133
"portable-fetch": "3.0.0",
134-
"prettier": "2.8.8",
134+
"prettier": "3.0.0",
135135
"process": "0.11.10",
136136
"react-test-renderer": "18.2.0",
137137
"redux-saga-test-plan": "4.0.6",
@@ -149,7 +149,7 @@
149149
"resolutions": {
150150
"@ledgerhq/hw-transport": "^6.27.6",
151151
"@testing-library/dom": "9.3.1",
152-
"@typescript-eslint/eslint-plugin": "5.62.0",
152+
"@typescript-eslint/eslint-plugin": "6.0.0",
153153
"bip39": "3.1.0",
154154
"eslint-plugin-react": "7.32.2",
155155
"grommet-icons": "4.11.0",

src/types/errors.ts

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
export class WalletError extends Error {
2-
constructor(public readonly type: WalletErrors, message: string, public readonly originalError?: Error) {
2+
constructor(
3+
public readonly type: WalletErrors,
4+
message: string,
5+
public readonly originalError?: Error,
6+
) {
37
super(message)
48
}
59
}

0 commit comments

Comments
 (0)