From 00c2081945b7a509fc7ab9828cd655417608f136 Mon Sep 17 00:00:00 2001 From: Maarten Zuidhoorn Date: Sat, 6 Jul 2024 12:34:55 +0200 Subject: [PATCH] Fix some lint issues --- packages/snaps-cli/.depcheckrc.json | 1 + packages/snaps-sdk/package.json | 1 + packages/snaps-storybook/package.json | 2 +- yarn.lock | 1 + 4 files changed, 4 insertions(+), 1 deletion(-) diff --git a/packages/snaps-cli/.depcheckrc.json b/packages/snaps-cli/.depcheckrc.json index 7b43678e53..3ff0569a63 100644 --- a/packages/snaps-cli/.depcheckrc.json +++ b/packages/snaps-cli/.depcheckrc.json @@ -11,6 +11,7 @@ "assert", "browser-pack", "buffer", + "core-js-compat", "eslint-config-*", "eslint-plugin-*", "events", diff --git a/packages/snaps-sdk/package.json b/packages/snaps-sdk/package.json index b0eeb5000a..0ec5e7abba 100644 --- a/packages/snaps-sdk/package.json +++ b/packages/snaps-sdk/package.json @@ -76,6 +76,7 @@ "@metamask/eslint-config-typescript": "^12.1.0", "@metamask/snaps-storybook": "workspace:^", "@storybook/addon-controls": "^8.1.11", + "@storybook/types": "^8.1.11", "@swc/core": "1.3.78", "@types/jest": "^27.5.1", "@typescript-eslint/eslint-plugin": "^5.42.1", diff --git a/packages/snaps-storybook/package.json b/packages/snaps-storybook/package.json index 8f0f507241..e4e3ccfd6a 100644 --- a/packages/snaps-storybook/package.json +++ b/packages/snaps-storybook/package.json @@ -28,8 +28,8 @@ ], "scripts": { "test": "jest && yarn posttest", - "test:ci": "yarn test", "posttest": "jest-it-up --margin 0.25", + "test:ci": "yarn test", "clean": "rimraf '*.tsbuildinfo' 'dist'", "start": "storybook dev --port 7000 --no-open", "build": "tsup --clean && yarn build:types", diff --git a/yarn.lock b/yarn.lock index 02f65e11b9..676ba2ccf2 100644 --- a/yarn.lock +++ b/yarn.lock @@ -6297,6 +6297,7 @@ __metadata: "@metamask/snaps-storybook": "workspace:^" "@metamask/utils": ^8.3.0 "@storybook/addon-controls": ^8.1.11 + "@storybook/types": ^8.1.11 "@swc/core": 1.3.78 "@types/jest": ^27.5.1 "@typescript-eslint/eslint-plugin": ^5.42.1