Skip to content

Commit aeacc35

Browse files
committed
fix: declare parsers as optional peer dependencies
1 parent e93f1c0 commit aeacc35

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

package.json

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,8 +48,18 @@
4848
"main": "./dist/index.js",
4949
"name": "eslint-plugin-flowtype",
5050
"peerDependencies": {
51+
"@babel/eslint-parser": "^7.0.0",
52+
"babel-eslint": "*",
5153
"eslint": "^7.1.0"
5254
},
55+
"peerDependenciesMeta": {
56+
"@babel/eslint-parser": {
57+
"optional": true
58+
},
59+
"babel-eslint": {
60+
"optional": true
61+
}
62+
},
5363
"repository": {
5464
"type": "git",
5565
"url": "https://github.com/gajus/eslint-plugin-flowtype"

0 commit comments

Comments
 (0)