chore: add generated files to .gitattributes - #10214
Conversation
Adds paths to generated files to gitattributes. This will eliminate noise from generated files in PR diffs. "Use the linguist-generated attribute to mark or unmark paths that you would like to be ignored for the repository's language statistics and hidden by default in diffs." https://docs.github.com/en/repositories/working-with-files/managing-files/customizing-how-changed-files-appear-on-github
|
There was a problem hiding this comment.
Code Review
This pull request updates the .gitattributes file to mark generated and snapshot files, including API review markdown files, prune-dts test declaration files, and the yarn.lock file, as linguist-generated=true. This ensures these files are collapsed by default in GitHub pull requests to improve review readability. There are no review comments, and I have no additional feedback to provide.
Adds paths to generated files to gitattributes. This will eliminate noise from generated files in PR diffs.
"Use the linguist-generated attribute to mark or unmark paths that you would like to be ignored for the repository's language statistics and hidden by default in diffs." https://docs.github.com/en/repositories/working-with-files/managing-files/customizing-how-changed-files-appear-on-github