Skip to content

Commit

Permalink
Fix @metamask/commonjs peer dependencies (#301)
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
Gudahtt authored Jul 10, 2023
1 parent 8600620 commit ee56f54
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 11 deletions.
8 changes: 2 additions & 6 deletions packages/commonjs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
6 changes: 1 addition & 5 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit ee56f54

Please sign in to comment.