-
Notifications
You must be signed in to change notification settings - Fork 144
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: add prettier-ignore to output (#74)
- Loading branch information
Kent C. Dodds
authored
Nov 22, 2017
1 parent
482a8ab
commit ba248a9
Showing
6 changed files
with
92 additions
and
77 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
// Jest Snapshot v1, https://goo.gl/fbAQLP | ||
|
||
exports[`replace the content between the ALL-CONTRIBUTORS-LIST tags by a table of contributors 1`] = ` | ||
"# project | ||
Description | ||
## Contributors | ||
These people contributed to the project: | ||
<!-- ALL-CONTRIBUTORS-LIST:START --> | ||
<!-- prettier-ignore --> | ||
| Kent C. Dodds is awesome! | Divjot Singh is awesome! | Jeroen Engels is awesome! | | ||
| :---: | :---: | :---: | | ||
<!-- ALL-CONTRIBUTORS-LIST:END --> | ||
Thanks a lot everyone!" | ||
`; | ||
|
||
exports[`split contributors into multiples lines when there are too many 1`] = ` | ||
"# project | ||
Description | ||
## Contributors | ||
These people contributed to the project: | ||
<!-- ALL-CONTRIBUTORS-LIST:START --> | ||
<!-- prettier-ignore --> | ||
| Kent C. Dodds is awesome! | Kent C. Dodds is awesome! | Kent C. Dodds is awesome! | Kent C. Dodds is awesome! | Kent C. Dodds is awesome! | | ||
| :---: | :---: | :---: | :---: | :---: | | ||
| Kent C. Dodds is awesome! | Kent C. Dodds is awesome! | | ||
<!-- ALL-CONTRIBUTORS-LIST:END --> | ||
Thanks a lot everyone!" | ||
`; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
41 changes: 41 additions & 0 deletions
41
src/init/__tests__/__snapshots__/add-contributors-list.js.snap
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
// Jest Snapshot v1, https://goo.gl/fbAQLP | ||
|
||
exports[`create contributors section if content is empty 1`] = ` | ||
" | ||
## Contributors | ||
Thanks goes to these wonderful people ([emoji key](https://github.com/kentcdodds/all-contributors#emoji-key)): | ||
<!-- ALL-CONTRIBUTORS-LIST:START - Do not remove or modify this section --> | ||
<!-- prettier-ignore --> | ||
<!-- ALL-CONTRIBUTORS-LIST:END --> | ||
This project follows the [all-contributors](https://github.com/kentcdodds/all-contributors) specification. Contributions of any kind welcome!" | ||
`; | ||
|
||
exports[`create contributors section if it is absent 1`] = ` | ||
"# project | ||
Description | ||
## Contributors | ||
Thanks goes to these wonderful people ([emoji key](https://github.com/kentcdodds/all-contributors#emoji-key)): | ||
<!-- ALL-CONTRIBUTORS-LIST:START - Do not remove or modify this section --> | ||
<!-- prettier-ignore --> | ||
<!-- ALL-CONTRIBUTORS-LIST:END --> | ||
This project follows the [all-contributors](https://github.com/kentcdodds/all-contributors) specification. Contributions of any kind welcome!" | ||
`; | ||
|
||
exports[`insert list under contributors section 1`] = ` | ||
"# project | ||
Description | ||
## Contributors | ||
<!-- ALL-CONTRIBUTORS-LIST:START - Do not remove or modify this section --> | ||
<!-- prettier-ignore --> | ||
<!-- ALL-CONTRIBUTORS-LIST:END -->" | ||
`; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters