mirror of
https://github.com/all-contributors/cli.git
synced 2025-01-10 05:56:29 +00:00
fix: replace markdownlint-enable with markdownlint-restore to restore (vs. enable all) previous rules (fixes #276). (#278)
This commit is contained in:
parent
3bb4a03008
commit
8af13c3f5e
6 changed files with 9 additions and 9 deletions
|
@ -145,7 +145,7 @@ Thanks goes to these wonderful people
|
||||||
</tr>
|
</tr>
|
||||||
</table>
|
</table>
|
||||||
|
|
||||||
<!-- markdownlint-enable -->
|
<!-- markdownlint-restore -->
|
||||||
<!-- prettier-ignore-end -->
|
<!-- prettier-ignore-end -->
|
||||||
<!-- ALL-CONTRIBUTORS-LIST:END -->
|
<!-- ALL-CONTRIBUTORS-LIST:END -->
|
||||||
|
|
||||||
|
|
|
@ -18,7 +18,7 @@ These people contributed to the project:
|
||||||
</tr>
|
</tr>
|
||||||
</table>
|
</table>
|
||||||
|
|
||||||
<!-- markdownlint-enable -->
|
<!-- markdownlint-restore -->
|
||||||
<!-- prettier-ignore-end -->
|
<!-- prettier-ignore-end -->
|
||||||
<!-- ALL-CONTRIBUTORS-LIST:END -->
|
<!-- ALL-CONTRIBUTORS-LIST:END -->
|
||||||
|
|
||||||
|
@ -49,7 +49,7 @@ These people contributed to the project:
|
||||||
</tr>
|
</tr>
|
||||||
</table>
|
</table>
|
||||||
|
|
||||||
<!-- markdownlint-enable -->
|
<!-- markdownlint-restore -->
|
||||||
<!-- prettier-ignore-end -->
|
<!-- prettier-ignore-end -->
|
||||||
<!-- ALL-CONTRIBUTORS-LIST:END -->
|
<!-- ALL-CONTRIBUTORS-LIST:END -->
|
||||||
|
|
||||||
|
|
|
@ -141,7 +141,7 @@ test('inject nothing if there are no contributors', () => {
|
||||||
'<!-- ALL-CONTRIBUTORS-LIST:START -->',
|
'<!-- ALL-CONTRIBUTORS-LIST:START -->',
|
||||||
'<!-- prettier-ignore-start -->',
|
'<!-- prettier-ignore-start -->',
|
||||||
'<!-- markdownlint-disable -->',
|
'<!-- markdownlint-disable -->',
|
||||||
'<!-- markdownlint-enable -->',
|
'<!-- markdownlint-restore -->',
|
||||||
'<!-- prettier-ignore-end -->',
|
'<!-- prettier-ignore-end -->',
|
||||||
'<!-- ALL-CONTRIBUTORS-LIST:END -->',
|
'<!-- ALL-CONTRIBUTORS-LIST:END -->',
|
||||||
'',
|
'',
|
||||||
|
|
|
@ -29,7 +29,7 @@ function injectListBetweenTags(newContent) {
|
||||||
'\n<!-- prettier-ignore-start -->',
|
'\n<!-- prettier-ignore-start -->',
|
||||||
'\n<!-- markdownlint-disable -->',
|
'\n<!-- markdownlint-disable -->',
|
||||||
newContent,
|
newContent,
|
||||||
'<!-- markdownlint-enable -->',
|
'<!-- markdownlint-restore -->',
|
||||||
'\n<!-- prettier-ignore-end -->',
|
'\n<!-- prettier-ignore-end -->',
|
||||||
'\n',
|
'\n',
|
||||||
previousContent.slice(startOfClosingTagIndex),
|
previousContent.slice(startOfClosingTagIndex),
|
||||||
|
|
|
@ -9,7 +9,7 @@ Thanks goes to these wonderful people ([emoji key](https://allcontributors.org/d
|
||||||
<!-- ALL-CONTRIBUTORS-LIST:START - Do not remove or modify this section -->
|
<!-- ALL-CONTRIBUTORS-LIST:START - Do not remove or modify this section -->
|
||||||
<!-- prettier-ignore-start -->
|
<!-- prettier-ignore-start -->
|
||||||
<!-- markdownlint-disable -->
|
<!-- markdownlint-disable -->
|
||||||
<!-- markdownlint-enable -->
|
<!-- markdownlint-restore -->
|
||||||
<!-- prettier-ignore-end -->
|
<!-- prettier-ignore-end -->
|
||||||
<!-- ALL-CONTRIBUTORS-LIST:END -->
|
<!-- ALL-CONTRIBUTORS-LIST:END -->
|
||||||
|
|
||||||
|
@ -27,7 +27,7 @@ Thanks goes to these wonderful people ([emoji key](https://allcontributors.org/d
|
||||||
<!-- ALL-CONTRIBUTORS-LIST:START - Do not remove or modify this section -->
|
<!-- ALL-CONTRIBUTORS-LIST:START - Do not remove or modify this section -->
|
||||||
<!-- prettier-ignore-start -->
|
<!-- prettier-ignore-start -->
|
||||||
<!-- markdownlint-disable -->
|
<!-- markdownlint-disable -->
|
||||||
<!-- markdownlint-enable -->
|
<!-- markdownlint-restore -->
|
||||||
<!-- prettier-ignore-end -->
|
<!-- prettier-ignore-end -->
|
||||||
<!-- ALL-CONTRIBUTORS-LIST:END -->
|
<!-- ALL-CONTRIBUTORS-LIST:END -->
|
||||||
|
|
||||||
|
@ -44,7 +44,7 @@ Description
|
||||||
<!-- ALL-CONTRIBUTORS-LIST:START - Do not remove or modify this section -->
|
<!-- ALL-CONTRIBUTORS-LIST:START - Do not remove or modify this section -->
|
||||||
<!-- prettier-ignore-start -->
|
<!-- prettier-ignore-start -->
|
||||||
<!-- markdownlint-disable -->
|
<!-- markdownlint-disable -->
|
||||||
<!-- markdownlint-enable -->
|
<!-- markdownlint-restore -->
|
||||||
<!-- prettier-ignore-end -->
|
<!-- prettier-ignore-end -->
|
||||||
<!-- ALL-CONTRIBUTORS-LIST:END -->"
|
<!-- ALL-CONTRIBUTORS-LIST:END -->"
|
||||||
`;
|
`;
|
||||||
|
|
|
@ -13,7 +13,7 @@ const listContent = [
|
||||||
'<!-- ALL-CONTRIBUTORS-LIST:START - Do not remove or modify this section -->',
|
'<!-- ALL-CONTRIBUTORS-LIST:START - Do not remove or modify this section -->',
|
||||||
'<!-- prettier-ignore-start -->',
|
'<!-- prettier-ignore-start -->',
|
||||||
'<!-- markdownlint-disable -->',
|
'<!-- markdownlint-disable -->',
|
||||||
'<!-- markdownlint-enable -->',
|
'<!-- markdownlint-restore -->',
|
||||||
'<!-- prettier-ignore-end -->',
|
'<!-- prettier-ignore-end -->',
|
||||||
'<!-- ALL-CONTRIBUTORS-LIST:END -->',
|
'<!-- ALL-CONTRIBUTORS-LIST:END -->',
|
||||||
].join('\n')
|
].join('\n')
|
||||||
|
|
Loading…
Reference in a new issue