Skip to content

Commit f43e146

Browse files
authored
Allow either import or import-x plugin as a peer dependency
1 parent ca11f1c commit f43e146

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

package.json

+6-1
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,12 @@
6363
},
6464
"peerDependencies": {
6565
"eslint": "*",
66-
"eslint-plugin-import": "*"
66+
"eslint-plugin-import": "*",
67+
"eslint-plugin-import-x": "*"
68+
},
69+
"peerDependenciesMeta": {
70+
"eslint-plugin-import": { "optional": true },
71+
"eslint-plugin-import-x": { "optional": true }
6772
},
6873
"dependencies": {
6974
"debug": "^4.3.5",

0 commit comments

Comments
 (0)