From 689de516ac8cf57e5e6bad5681ca578da7c4a4b6 Mon Sep 17 00:00:00 2001 From: Mark Stacey Date: Mon, 10 Jul 2023 10:41:01 -0230 Subject: [PATCH] Fix `@metamask/commonjs` peer dependencies The peer dependencies for `@metamask/commonjs` were accidentally duplicated from the base configuration when that package was created. They have been updated to refer just to ESLint and to the base config itself, as all the other config packages do. --- packages/commonjs/package.json | 8 ++------ yarn.lock | 6 +----- 2 files changed, 3 insertions(+), 11 deletions(-) diff --git a/packages/commonjs/package.json b/packages/commonjs/package.json index 1b5e735b..8fa95225 100644 --- a/packages/commonjs/package.json +++ b/packages/commonjs/package.json @@ -31,12 +31,8 @@ "prettier": "^2.7.1" }, "peerDependencies": { - "eslint": "^8.27.0", - "eslint-config-prettier": "^8.5.0", - "eslint-plugin-import": "^2.26.0", - "eslint-plugin-jsdoc": "^39.6.2", - "eslint-plugin-prettier": "^4.2.1", - "prettier": "^2.7.1" + "@metamask/eslint-config": "^11.0.0", + "eslint": "^8.27.0" }, "engines": { "node": ">=14.0.0" diff --git a/yarn.lock b/yarn.lock index d84fc5d7..168434ec 100644 --- a/yarn.lock +++ b/yarn.lock @@ -915,12 +915,8 @@ __metadata: eslint-plugin-prettier: ^4.2.1 prettier: ^2.7.1 peerDependencies: + "@metamask/eslint-config": ^11.0.0 eslint: ^8.27.0 - eslint-config-prettier: ^8.5.0 - eslint-plugin-import: ^2.26.0 - eslint-plugin-jsdoc: ^39.6.2 - eslint-plugin-prettier: ^4.2.1 - prettier: ^2.7.1 languageName: unknown linkType: soft