Skip to content

Commit

Permalink
Allow either import or import-x plugin as a peer dependency (#294)
Browse files Browse the repository at this point in the history
* Allow either import or import-x plugin as a peer dependency

* Updating lock file.

* Add changeset.
  • Loading branch information
RobinTail authored Jul 14, 2024
1 parent b777b44 commit 10f9b17
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changeset/purple-buttons-lay.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'eslint-import-resolver-typescript': patch
---

Allow either eslint-plugin-import-x or eslint-plugin-import plugin as a peer dependency.
11 changes: 10 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,16 @@
},
"peerDependencies": {
"eslint": "*",
"eslint-plugin-import": "*"
"eslint-plugin-import": "*",
"eslint-plugin-import-x": "*"
},
"peerDependenciesMeta": {
"eslint-plugin-import": {
"optional": true
},
"eslint-plugin-import-x": {
"optional": true
}
},
"dependencies": {
"debug": "^4.3.5",
Expand Down
6 changes: 6 additions & 0 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -6145,6 +6145,12 @@ __metadata:
peerDependencies:
eslint: "*"
eslint-plugin-import: "*"
eslint-plugin-import-x: "*"
peerDependenciesMeta:
eslint-plugin-import:
optional: true
eslint-plugin-import-x:
optional: true
languageName: unknown
linkType: soft

Expand Down

0 comments on commit 10f9b17

Please sign in to comment.