Skip to content

Commit

Permalink
Make @babel/eslint-parser peer dep optional
Browse files Browse the repository at this point in the history
  • Loading branch information
Mark Skelton committed Jan 19, 2022
1 parent 692fb1e commit 35ce5a7
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .changeset/wicked-pandas-turn.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'eslint-config-widen': minor
---

Make `@babel/eslint-parser` and optional peer dependency.
3 changes: 3 additions & 0 deletions packages/eslint-config-widen/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,9 @@
"eslint-plugin-widen": ">=0.1.0"
},
"peerDependenciesMeta": {
"@babel/eslint-parser": {
"optional": true
},
"@typescript-eslint/eslint-plugin": {
"optional": true
},
Expand Down
2 changes: 2 additions & 0 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -3928,6 +3928,8 @@ __metadata:
eslint-plugin-sort: ">= 2"
eslint-plugin-widen: ">=0.1.0"
peerDependenciesMeta:
"@babel/eslint-parser":
optional: true
"@typescript-eslint/eslint-plugin":
optional: true
"@typescript-eslint/parser":
Expand Down

0 comments on commit 35ce5a7

Please sign in to comment.