diff --git a/package.json b/package.json index d30d9c208a..8d507bcac9 100644 --- a/package.json +++ b/package.json @@ -75,7 +75,7 @@ "@metamask/eslint-config": "^12.1.0", "@metamask/eslint-config-jest": "^12.1.0", "@metamask/eslint-config-nodejs": "^12.1.0", - "@metamask/eslint-config-typescript": "^12.1.0", + "@metamask/eslint-config-typescript": "^13.0.0", "@metamask/utils": "^9.1.0", "@swc/core": "1.3.78", "@types/jest": "^27.5.1", diff --git a/packages/create-snap/package.json b/packages/create-snap/package.json index 8815f84cd1..20b8c7a413 100644 --- a/packages/create-snap/package.json +++ b/packages/create-snap/package.json @@ -56,7 +56,7 @@ "@metamask/eslint-config": "^12.1.0", "@metamask/eslint-config-jest": "^12.1.0", "@metamask/eslint-config-nodejs": "^12.1.0", - "@metamask/eslint-config-typescript": "^12.1.0", + "@metamask/eslint-config-typescript": "^13.0.0", "@swc/core": "1.3.78", "@swc/jest": "^0.2.26", "@types/jest": "^27.5.1", diff --git a/packages/examples/package.json b/packages/examples/package.json index 2f06313a18..f2bd90a01a 100644 --- a/packages/examples/package.json +++ b/packages/examples/package.json @@ -32,7 +32,7 @@ "@metamask/eslint-config": "^12.1.0", "@metamask/eslint-config-jest": "^12.1.0", "@metamask/eslint-config-nodejs": "^12.1.0", - "@metamask/eslint-config-typescript": "^12.1.0", + "@metamask/eslint-config-typescript": "^13.0.0", "@typescript-eslint/eslint-plugin": "^5.42.1", "@typescript-eslint/parser": "^5.42.1", "depcheck": "^1.4.7", diff --git a/packages/snaps-browserify-plugin/package.json b/packages/snaps-browserify-plugin/package.json index 204542cfe6..c0f1f232da 100644 --- a/packages/snaps-browserify-plugin/package.json +++ b/packages/snaps-browserify-plugin/package.json @@ -51,7 +51,7 @@ "@metamask/eslint-config": "^12.1.0", "@metamask/eslint-config-jest": "^12.1.0", "@metamask/eslint-config-nodejs": "^12.1.0", - "@metamask/eslint-config-typescript": "^12.1.0", + "@metamask/eslint-config-typescript": "^13.0.0", "@swc/core": "1.3.78", "@swc/jest": "^0.2.26", "@types/browserify": "^12.0.37", diff --git a/packages/snaps-cli/package.json b/packages/snaps-cli/package.json index 35113928f3..4ced19b44f 100644 --- a/packages/snaps-cli/package.json +++ b/packages/snaps-cli/package.json @@ -105,7 +105,7 @@ "@metamask/eslint-config": "^12.1.0", "@metamask/eslint-config-jest": "^12.1.0", "@metamask/eslint-config-nodejs": "^12.1.0", - "@metamask/eslint-config-typescript": "^12.1.0", + "@metamask/eslint-config-typescript": "^13.0.0", "@swc/jest": "^0.2.26", "@types/browserify": "^12.0.37", "@types/jest": "^27.5.1", diff --git a/packages/snaps-controllers/package.json b/packages/snaps-controllers/package.json index cec30b479c..add2f1664f 100644 --- a/packages/snaps-controllers/package.json +++ b/packages/snaps-controllers/package.json @@ -87,7 +87,7 @@ "@metamask/eslint-config": "^12.1.0", "@metamask/eslint-config-jest": "^12.1.0", "@metamask/eslint-config-nodejs": "^12.1.0", - "@metamask/eslint-config-typescript": "^12.1.0", + "@metamask/eslint-config-typescript": "^13.0.0", "@metamask/template-snap": "^0.7.0", "@swc/core": "1.3.78", "@swc/jest": "^0.2.26", diff --git a/packages/snaps-execution-environments/package.json b/packages/snaps-execution-environments/package.json index 6bc3f95d00..fa99665179 100644 --- a/packages/snaps-execution-environments/package.json +++ b/packages/snaps-execution-environments/package.json @@ -76,7 +76,7 @@ "@metamask/eslint-config": "^12.1.0", "@metamask/eslint-config-jest": "^12.1.0", "@metamask/eslint-config-nodejs": "^12.1.0", - "@metamask/eslint-config-typescript": "^12.1.0", + "@metamask/eslint-config-typescript": "^13.0.0", "@swc/core": "1.3.78", "@swc/jest": "^0.2.26", "@types/express": "^4.17.17", diff --git a/packages/snaps-jest/package.json b/packages/snaps-jest/package.json index bb6d1a9774..3d7acfd9d2 100644 --- a/packages/snaps-jest/package.json +++ b/packages/snaps-jest/package.json @@ -69,7 +69,7 @@ "@metamask/eslint-config": "^12.1.0", "@metamask/eslint-config-jest": "^12.1.0", "@metamask/eslint-config-nodejs": "^12.1.0", - "@metamask/eslint-config-typescript": "^12.1.0", + "@metamask/eslint-config-typescript": "^13.0.0", "@swc/core": "1.3.78", "@swc/jest": "^0.2.26", "@types/jest": "^27.5.1", diff --git a/packages/snaps-rollup-plugin/package.json b/packages/snaps-rollup-plugin/package.json index 9b3f2a340a..1844f99b80 100644 --- a/packages/snaps-rollup-plugin/package.json +++ b/packages/snaps-rollup-plugin/package.json @@ -50,7 +50,7 @@ "@metamask/eslint-config": "^12.1.0", "@metamask/eslint-config-jest": "^12.1.0", "@metamask/eslint-config-nodejs": "^12.1.0", - "@metamask/eslint-config-typescript": "^12.1.0", + "@metamask/eslint-config-typescript": "^13.0.0", "@rollup/plugin-virtual": "^2.1.0", "@swc/core": "1.3.78", "@swc/jest": "^0.2.26", diff --git a/packages/snaps-rpc-methods/package.json b/packages/snaps-rpc-methods/package.json index 20f10081e2..7bddd694ad 100644 --- a/packages/snaps-rpc-methods/package.json +++ b/packages/snaps-rpc-methods/package.json @@ -54,7 +54,7 @@ "@metamask/eslint-config": "^12.1.0", "@metamask/eslint-config-jest": "^12.1.0", "@metamask/eslint-config-nodejs": "^12.1.0", - "@metamask/eslint-config-typescript": "^12.1.0", + "@metamask/eslint-config-typescript": "^13.0.0", "@metamask/json-rpc-engine": "^9.0.2", "@swc/core": "1.3.78", "@swc/jest": "^0.2.26", diff --git a/packages/snaps-sdk/package.json b/packages/snaps-sdk/package.json index ad17334e0e..f1a291ffff 100644 --- a/packages/snaps-sdk/package.json +++ b/packages/snaps-sdk/package.json @@ -71,7 +71,7 @@ "@metamask/eslint-config": "^12.1.0", "@metamask/eslint-config-jest": "^12.1.0", "@metamask/eslint-config-nodejs": "^12.1.0", - "@metamask/eslint-config-typescript": "^12.1.0", + "@metamask/eslint-config-typescript": "^13.0.0", "@swc/core": "1.3.78", "@types/jest": "^27.5.1", "@typescript-eslint/eslint-plugin": "^5.42.1", diff --git a/packages/snaps-simulator/package.json b/packages/snaps-simulator/package.json index 1ab628306a..1b0151a323 100644 --- a/packages/snaps-simulator/package.json +++ b/packages/snaps-simulator/package.json @@ -70,7 +70,7 @@ "@metamask/eslint-config-browser": "^11.1.0", "@metamask/eslint-config-jest": "^12.1.0", "@metamask/eslint-config-nodejs": "^12.1.0", - "@metamask/eslint-config-typescript": "^12.1.0", + "@metamask/eslint-config-typescript": "^13.0.0", "@pmmmwh/react-refresh-webpack-plugin": "^0.5.10", "@redux-saga/is": "^1.1.3", "@redux-saga/symbols": "^1.1.3", diff --git a/packages/snaps-utils/package.json b/packages/snaps-utils/package.json index c41e739abf..9a87229d54 100644 --- a/packages/snaps-utils/package.json +++ b/packages/snaps-utils/package.json @@ -82,7 +82,7 @@ "@metamask/eslint-config": "^12.1.0", "@metamask/eslint-config-jest": "^12.1.0", "@metamask/eslint-config-nodejs": "^12.1.0", - "@metamask/eslint-config-typescript": "^12.1.0", + "@metamask/eslint-config-typescript": "^13.0.0", "@metamask/post-message-stream": "^8.1.0", "@swc/core": "1.3.78", "@swc/jest": "^0.2.26", diff --git a/packages/snaps-webpack-plugin/package.json b/packages/snaps-webpack-plugin/package.json index ee3f7632bd..6b97be2808 100644 --- a/packages/snaps-webpack-plugin/package.json +++ b/packages/snaps-webpack-plugin/package.json @@ -53,7 +53,7 @@ "@metamask/eslint-config": "^12.1.0", "@metamask/eslint-config-jest": "^12.1.0", "@metamask/eslint-config-nodejs": "^12.1.0", - "@metamask/eslint-config-typescript": "^12.1.0", + "@metamask/eslint-config-typescript": "^13.0.0", "@swc/core": "1.3.78", "@swc/jest": "^0.2.26", "@types/jest": "^27.5.1", diff --git a/packages/test-snaps/package.json b/packages/test-snaps/package.json index 7b6229cb9b..dd8d293330 100644 --- a/packages/test-snaps/package.json +++ b/packages/test-snaps/package.json @@ -70,7 +70,7 @@ "@metamask/eslint-config": "^12.1.0", "@metamask/eslint-config-jest": "^12.1.0", "@metamask/eslint-config-nodejs": "^12.1.0", - "@metamask/eslint-config-typescript": "^12.1.0", + "@metamask/eslint-config-typescript": "^13.0.0", "@metamask/providers": "^17.1.2", "@pmmmwh/react-refresh-webpack-plugin": "^0.5.10", "@swc/core": "1.3.78", diff --git a/yarn.lock b/yarn.lock index 30696954a1..2e17c09adc 100644 --- a/yarn.lock +++ b/yarn.lock @@ -4203,7 +4203,7 @@ __metadata: "@metamask/eslint-config": ^12.1.0 "@metamask/eslint-config-jest": ^12.1.0 "@metamask/eslint-config-nodejs": ^12.1.0 - "@metamask/eslint-config-typescript": ^12.1.0 + "@metamask/eslint-config-typescript": ^13.0.0 "@metamask/snaps-utils": "workspace:^" "@swc/core": 1.3.78 "@swc/jest": ^0.2.26 @@ -4394,6 +4394,19 @@ __metadata: languageName: node linkType: hard +"@metamask/eslint-config-typescript@npm:^13.0.0": + version: 13.0.0 + resolution: "@metamask/eslint-config-typescript@npm:13.0.0" + peerDependencies: + "@metamask/eslint-config": ^13.0.0 + "@typescript-eslint/eslint-plugin": ^8.1.0 + "@typescript-eslint/parser": ^8.1.0 + eslint: ^8.57.0 + typescript: ">=4.8.4 <5.6" + checksum: d05f1be8f86edbaf6961176379939a1e4a0f51bc7c32430589b25333726372cea56b9e5af00a735f248ac4424aa10496989fc92e32bfc3194a963fd3c5d0fde5 + languageName: node + linkType: hard + "@metamask/eslint-config@npm:^12.1.0": version: 12.1.0 resolution: "@metamask/eslint-config@npm:12.1.0" @@ -4574,7 +4587,7 @@ __metadata: "@metamask/eslint-config": ^12.1.0 "@metamask/eslint-config-jest": ^12.1.0 "@metamask/eslint-config-nodejs": ^12.1.0 - "@metamask/eslint-config-typescript": ^12.1.0 + "@metamask/eslint-config-typescript": ^13.0.0 "@typescript-eslint/eslint-plugin": ^5.42.1 "@typescript-eslint/parser": ^5.42.1 depcheck: ^1.4.7 @@ -5416,7 +5429,7 @@ __metadata: "@metamask/eslint-config": ^12.1.0 "@metamask/eslint-config-jest": ^12.1.0 "@metamask/eslint-config-nodejs": ^12.1.0 - "@metamask/eslint-config-typescript": ^12.1.0 + "@metamask/eslint-config-typescript": ^13.0.0 "@metamask/snaps-utils": "workspace:^" "@swc/core": 1.3.78 "@swc/jest": ^0.2.26 @@ -5467,7 +5480,7 @@ __metadata: "@metamask/eslint-config": ^12.1.0 "@metamask/eslint-config-jest": ^12.1.0 "@metamask/eslint-config-nodejs": ^12.1.0 - "@metamask/eslint-config-typescript": ^12.1.0 + "@metamask/eslint-config-typescript": ^13.0.0 "@metamask/snaps-sdk": "workspace:^" "@metamask/snaps-utils": "workspace:^" "@metamask/snaps-webpack-plugin": "workspace:^" @@ -5559,7 +5572,7 @@ __metadata: "@metamask/eslint-config": ^12.1.0 "@metamask/eslint-config-jest": ^12.1.0 "@metamask/eslint-config-nodejs": ^12.1.0 - "@metamask/eslint-config-typescript": ^12.1.0 + "@metamask/eslint-config-typescript": ^13.0.0 "@metamask/json-rpc-engine": ^9.0.2 "@metamask/json-rpc-middleware-stream": ^8.0.2 "@metamask/object-multiplex": ^2.0.0 @@ -5654,7 +5667,7 @@ __metadata: "@metamask/eslint-config": ^12.1.0 "@metamask/eslint-config-jest": ^12.1.0 "@metamask/eslint-config-nodejs": ^12.1.0 - "@metamask/eslint-config-typescript": ^12.1.0 + "@metamask/eslint-config-typescript": ^13.0.0 "@metamask/json-rpc-engine": ^9.0.2 "@metamask/object-multiplex": ^2.0.0 "@metamask/post-message-stream": ^8.1.0 @@ -5734,7 +5747,7 @@ __metadata: "@metamask/eslint-config": ^12.1.0 "@metamask/eslint-config-jest": ^12.1.0 "@metamask/eslint-config-nodejs": ^12.1.0 - "@metamask/eslint-config-typescript": ^12.1.0 + "@metamask/eslint-config-typescript": ^13.0.0 "@metamask/eth-json-rpc-middleware": ^13.0.0 "@metamask/json-rpc-engine": ^9.0.2 "@metamask/json-rpc-middleware-stream": ^8.0.2 @@ -5803,7 +5816,7 @@ __metadata: "@metamask/eslint-config": ^12.1.0 "@metamask/eslint-config-jest": ^12.1.0 "@metamask/eslint-config-nodejs": ^12.1.0 - "@metamask/eslint-config-typescript": ^12.1.0 + "@metamask/eslint-config-typescript": ^13.0.0 "@metamask/snaps-utils": "workspace:^" "@rollup/plugin-virtual": ^2.1.0 "@swc/core": 1.3.78 @@ -5842,7 +5855,7 @@ __metadata: "@metamask/eslint-config": ^12.1.0 "@metamask/eslint-config-jest": ^12.1.0 "@metamask/eslint-config-nodejs": ^12.1.0 - "@metamask/eslint-config-typescript": ^12.1.0 + "@metamask/eslint-config-typescript": ^13.0.0 "@metamask/json-rpc-engine": ^9.0.2 "@metamask/key-tree": ^9.1.2 "@metamask/permission-controller": ^11.0.0 @@ -5886,7 +5899,7 @@ __metadata: "@metamask/eslint-config": ^12.1.0 "@metamask/eslint-config-jest": ^12.1.0 "@metamask/eslint-config-nodejs": ^12.1.0 - "@metamask/eslint-config-typescript": ^12.1.0 + "@metamask/eslint-config-typescript": ^13.0.0 "@metamask/key-tree": ^9.1.2 "@metamask/providers": ^17.1.2 "@metamask/rpc-errors": ^6.3.1 @@ -5934,7 +5947,7 @@ __metadata: "@metamask/eslint-config-browser": ^11.1.0 "@metamask/eslint-config-jest": ^12.1.0 "@metamask/eslint-config-nodejs": ^12.1.0 - "@metamask/eslint-config-typescript": ^12.1.0 + "@metamask/eslint-config-typescript": ^13.0.0 "@metamask/eth-json-rpc-middleware": ^13.0.0 "@metamask/json-rpc-engine": ^9.0.2 "@metamask/json-rpc-middleware-stream": ^8.0.2 @@ -6044,7 +6057,7 @@ __metadata: "@metamask/eslint-config": ^12.1.0 "@metamask/eslint-config-jest": ^12.1.0 "@metamask/eslint-config-nodejs": ^12.1.0 - "@metamask/eslint-config-typescript": ^12.1.0 + "@metamask/eslint-config-typescript": ^13.0.0 "@metamask/key-tree": ^9.1.2 "@metamask/permission-controller": ^11.0.0 "@metamask/post-message-stream": ^8.1.0 @@ -6122,7 +6135,7 @@ __metadata: "@metamask/eslint-config": ^12.1.0 "@metamask/eslint-config-jest": ^12.1.0 "@metamask/eslint-config-nodejs": ^12.1.0 - "@metamask/eslint-config-typescript": ^12.1.0 + "@metamask/eslint-config-typescript": ^13.0.0 "@metamask/snaps-sdk": "workspace:^" "@metamask/snaps-utils": "workspace:^" "@metamask/utils": ^9.1.0 @@ -6183,7 +6196,7 @@ __metadata: "@metamask/eslint-config": ^12.1.0 "@metamask/eslint-config-jest": ^12.1.0 "@metamask/eslint-config-nodejs": ^12.1.0 - "@metamask/eslint-config-typescript": ^12.1.0 + "@metamask/eslint-config-typescript": ^13.0.0 "@metamask/ethereum-provider-example-snap": "workspace:^" "@metamask/ethers-js-example-snap": "workspace:^" "@metamask/file-upload-example-snap": "workspace:^" @@ -20299,7 +20312,7 @@ __metadata: "@metamask/eslint-config": ^12.1.0 "@metamask/eslint-config-jest": ^12.1.0 "@metamask/eslint-config-nodejs": ^12.1.0 - "@metamask/eslint-config-typescript": ^12.1.0 + "@metamask/eslint-config-typescript": ^13.0.0 "@metamask/utils": ^9.1.0 "@swc/core": 1.3.78 "@types/jest": ^27.5.1