Skip to content

Commit 5228383

Browse files
authored
chore: fix update-readme formatting (#19544)
1 parent c39d7db commit 5228383

2 files changed

Lines changed: 3 additions & 1 deletion

File tree

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -313,6 +313,7 @@ Percy Ma
313313

314314
<!-- NOTE: This section is autogenerated. Do not manually edit.-->
315315
<!--sponsorsstart-->
316+
316317
## Sponsors
317318

318319
The following companies, organizations, and individuals support ESLint's ongoing maintenance and development. [Become a Sponsor](https://eslint.org/donate)
@@ -326,6 +327,7 @@ to get your logo on our READMEs and [website](https://eslint.org/sponsors).
326327
<h3>Technology Sponsors</h3>
327328
Technology sponsors allow us to use their products and services for free as part of a contribution to the open source ecosystem and our work.
328329
<p><a href="https://netlify.com"><img src="https://raw.githubusercontent.com/eslint/eslint.org/main/src/assets/images/techsponsors/netlify-icon.svg" alt="Netlify" height="32"></a> <a href="https://algolia.com"><img src="https://raw.githubusercontent.com/eslint/eslint.org/main/src/assets/images/techsponsors/algolia-icon.svg" alt="Algolia" height="32"></a> <a href="https://1password.com"><img src="https://raw.githubusercontent.com/eslint/eslint.org/main/src/assets/images/techsponsors/1password-icon.svg" alt="1Password" height="32"></a></p>
330+
329331
<!--sponsorsend-->
330332

331333
[tidelift]: https://tidelift.com/funding/github/npm/eslint

tools/update-readme.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ const HTML_TEMPLATE = stripIndents`
131131

132132
newReadme = newReadme.replace(
133133
/<!--sponsorsstart-->[\w\W]*?<!--sponsorsend-->/u,
134-
`<!--sponsorsstart-->\n${allSponsors}\n<!--sponsorsend-->`,
134+
`<!--sponsorsstart-->\n\n${allSponsors}\n\n<!--sponsorsend-->`,
135135
);
136136

137137
// replace multiple consecutive blank lines with just one blank line

0 commit comments

Comments
 (0)