Closed leonard-thieu closed 7 years ago
@leonard-thieu, Thanks for your contribution. To ensure that the project team has proper rights to use your work, please complete the Contribution License Agreement at https://cla.microsoft.com.
It will cover your contributions to all Microsoft-managed open source projects. Thanks, Microsoft Pull Request Bot
@leonard-thieu, thanks for signing the contribution license agreement. We will now validate the agreement and then the pull request.
Thanks, Microsoft Pull Request Bot
This PR adds support for auto-detecting an author's name and GitHub URL when generating a header. It looks at
~/.gitconfig
for the author's name and.git/config
for the author's GitHub URL.Note: Type definitions forparse-git-config
weren't available at the time of the PR. They can be added when https://github.com/DefinitelyTyped/DefinitelyTyped/pull/16817 is merged.