Skip to content

Commit d4fa8f0

Browse files
committed
enforce bugs field in package.json of public packages
1 parent 1680537 commit d4fa8f0

File tree

6 files changed

+17
-0
lines changed

6 files changed

+17
-0
lines changed

packages/core-js-builder/package.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,9 @@
88
"url": "git+https://github.com/zloirock/core-js.git",
99
"directory": "packages/core-js-builder"
1010
},
11+
"bugs": {
12+
"url": "https://github.com/zloirock/core-js/issues"
13+
},
1114
"funding": {
1215
"type": "opencollective",
1316
"url": "https://opencollective.com/core-js"

packages/core-js-bundle/package.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,9 @@
5656
"url": "git+https://github.com/zloirock/core-js.git",
5757
"directory": "packages/core-js-bundle"
5858
},
59+
"bugs": {
60+
"url": "https://github.com/zloirock/core-js/issues"
61+
},
5962
"funding": {
6063
"type": "opencollective",
6164
"url": "https://opencollective.com/core-js"

packages/core-js-compat/package.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,9 @@
88
"url": "git+https://github.com/zloirock/core-js.git",
99
"directory": "packages/core-js-compat"
1010
},
11+
"bugs": {
12+
"url": "https://github.com/zloirock/core-js/issues"
13+
},
1114
"funding": {
1215
"type": "opencollective",
1316
"url": "https://opencollective.com/core-js"

packages/core-js-pure/package.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,9 @@
5656
"url": "git+https://github.com/zloirock/core-js.git",
5757
"directory": "packages/core-js-pure"
5858
},
59+
"bugs": {
60+
"url": "https://github.com/zloirock/core-js/issues"
61+
},
5962
"funding": {
6063
"type": "opencollective",
6164
"url": "https://opencollective.com/core-js"

packages/core-js/package.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,9 @@
5656
"url": "git+https://github.com/zloirock/core-js.git",
5757
"directory": "packages/core-js"
5858
},
59+
"bugs": {
60+
"url": "https://github.com/zloirock/core-js/issues"
61+
},
5962
"funding": {
6063
"type": "opencollective",
6164
"url": "https://opencollective.com/core-js"

tests/eslint/eslint.config.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2120,6 +2120,8 @@ const packagesPackageJSON = {
21202120
'package-json/repository-shorthand': [ERROR, { form: 'object' }],
21212121
// requires the `author` property to be present
21222122
'package-json/require-author': ERROR,
2123+
// requires the `bugs`` property to be present
2124+
'package-json/require-bugs': ERROR,
21232125
// requires the `description` property to be present
21242126
'package-json/require-description': ERROR,
21252127
// requires the `engines` property to be present

0 commit comments

Comments
 (0)