Skip to content

Commit 97fe64f

Browse files
chore: fix Prettier formatting for allcontributors (#98)
* chore: fix Prettier formatting for allcontributors * Fix badge template * Add length to alt
1 parent f8993c3 commit 97fe64f

File tree

3 files changed

+18
-6
lines changed

3 files changed

+18
-6
lines changed

.all-contributorsrc.json .all-contributorsrc

+1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
{
2+
"badgeTemplate": "<img alt=\"All Contributors: <%= contributors.length %>\" src=\"https://img.shields.io/badge/all_contributors-<%= contributors.length %>-21bb42.svg\" />",
23
"commit": false,
34
"commitConvention": "angular",
45
"contributors": [

.prettierrc

+10
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,13 @@
11
{
2+
"overrides": [
3+
{
4+
"files": ".*rc",
5+
"options": { "parser": "json" }
6+
},
7+
{
8+
"files": ".nvmrc",
9+
"options": { "parser": "yaml" }
10+
}
11+
],
212
"useTabs": true
313
}

README.md

+7-6
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,13 @@
33
<p align="center">Template TypeScript Node.js package with all the CI bells & whistles I commonly use. ✨</p>
44

55
<p align="center">
6-
<!-- ALL-CONTRIBUTORS-BADGE:START - Do not remove or modify this section -->
76
<a href="#contributors">
8-
<img alt="All Contributors" src="https://img.shields.io/badge/all_contributors-1-21bb42.svg" />
7+
<!-- prettier-ignore-start -->
8+
<!-- ALL-CONTRIBUTORS-BADGE:START - Do not remove or modify this section -->
9+
<img alt="All Contributors" src="https://img.shields.io/badge/all_contributors-1-21bb42.svg" />
10+
<!-- ALL-CONTRIBUTORS-BADGE:END -->
11+
<!-- prettier-ignore-end -->
912
</a>
10-
<!-- ALL-CONTRIBUTORS-BADGE:END -->
1113
<a href="https://codecov.io/gh/JoshuaKGoldberg/template-typescript-node-package" >
1214
<img alt="Codecov Test Coverage" src="https://codecov.io/gh/JoshuaKGoldberg/template-typescript-node-package/branch/main/graph/badge.svg?token=eVIFY4MhfQ"/>
1315
</a>
@@ -73,10 +75,10 @@ Thanks! 💖
7375

7476
## Contributors
7577

76-
<!-- ALL-CONTRIBUTORS-LIST:START - Do not remove or modify this section -->
7778
<!-- prettier-ignore-start -->
7879
<!-- markdownlint-disable -->
7980
<!-- spellchecker: disable -->
81+
<!-- ALL-CONTRIBUTORS-LIST:START - Do not remove or modify this section -->
8082
<table>
8183
<tbody>
8284
<tr>
@@ -86,8 +88,7 @@ Thanks! 💖
8688
</tbody>
8789
</table>
8890

91+
<!-- ALL-CONTRIBUTORS-LIST:END -->
8992
<!-- spellchecker: enable -->
9093
<!-- markdownlint-restore -->
9194
<!-- prettier-ignore-end -->
92-
93-
<!-- ALL-CONTRIBUTORS-LIST:END -->

0 commit comments

Comments
 (0)