Skip to content

Commit f7e4dc1

Browse files
fix: blockAllContributors table needs to also disable cspell
1 parent ddc79c2 commit f7e4dc1

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

src/next/blocks/blockAllContributors.test.ts

+3-1
Original file line numberDiff line numberDiff line change
@@ -116,6 +116,7 @@ describe("blockAllContributors", () => {
116116
"sections": [
117117
"## Contributors
118118
119+
<!-- spellchecker: disable -->
119120
<!-- ALL-CONTRIBUTORS-LIST:START - Do not remove or modify this section -->
120121
<!-- prettier-ignore-start -->
121122
<!-- markdownlint-disable -->
@@ -130,7 +131,8 @@ describe("blockAllContributors", () => {
130131
<!-- markdownlint-restore -->
131132
<!-- prettier-ignore-end -->
132133
133-
<!-- ALL-CONTRIBUTORS-LIST:END -->",
134+
<!-- ALL-CONTRIBUTORS-LIST:END -->
135+
<!-- spellchecker: enable -->",
134136
],
135137
},
136138
"block": [Function],

src/next/blocks/blockAllContributors.ts

+2
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,7 @@ function printAllContributorsTable(contributors: Contributor[]) {
8181
return [
8282
`## Contributors`,
8383
``,
84+
`<!-- spellchecker: disable -->`,
8485
`<!-- ALL-CONTRIBUTORS-LIST:START - Do not remove or modify this section -->`,
8586
`<!-- prettier-ignore-start -->`,
8687
`<!-- markdownlint-disable -->`,
@@ -102,6 +103,7 @@ function printAllContributorsTable(contributors: Contributor[]) {
102103
`<!-- prettier-ignore-end -->`,
103104
``,
104105
`<!-- ALL-CONTRIBUTORS-LIST:END -->`,
106+
`<!-- spellchecker: enable -->`,
105107
].join("\n");
106108
}
107109

0 commit comments

Comments
 (0)