Skip to content

Commit adb8b1c

Browse files
authored
Fix missing GitHub Sponsor to funding field in package.json (#67)
Ref https://github.com/sponsors/stylelint To verify this change, run `npm fund` like this: ```sh-session $ npm fund . 1: opencollective funding available at the following URL: https://opencollective.com/stylelint 2: github funding available at the following URL: https://github.com/sponsors/stylelint Run `npm fund [<package-spec>] --which=1`, for example, to open the first funding URL listed in that package ```
1 parent 358f81f commit adb8b1c

File tree

3 files changed

+21
-8
lines changed

3 files changed

+21
-8
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44

55
- Changed: bump `npm-package-json-lint` to `^8.0.0`.
66
- Changed: bump `npm-package-json-lint-config-default` to `^7.0.0`.
7+
- Fixed: missing GitHub Sponsor to `funding` field in `package.json`.
78

89
## 5.0.1
910

package-lock.json

Lines changed: 10 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,16 @@
88
"npm-package-json-lint-config"
99
],
1010
"repository": "stylelint/npm-package-json-lint-config",
11-
"funding": {
12-
"type": "opencollective",
13-
"url": "https://opencollective.com/stylelint"
14-
},
11+
"funding": [
12+
{
13+
"type": "opencollective",
14+
"url": "https://opencollective.com/stylelint"
15+
},
16+
{
17+
"type": "github",
18+
"url": "https://github.com/sponsors/stylelint"
19+
}
20+
],
1521
"license": "MIT",
1622
"author": "stylelint",
1723
"main": "lib/npm-package-json-lint-config.js",

0 commit comments

Comments
 (0)