Skip to content

chore: add generated files to .gitattributes - #10214

Open
dlarocque wants to merge 1 commit into
mainfrom
dl/gitattrib
Open

chore: add generated files to .gitattributes#10214
dlarocque wants to merge 1 commit into
mainfrom
dl/gitattrib

Conversation

@dlarocque

Copy link
Copy Markdown
Contributor

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

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
@dlarocque
dlarocque requested a review from hsubox76 July 27, 2026 15:34
@dlarocque
dlarocque requested a review from a team as a code owner July 27, 2026 15:34
@changeset-bot

changeset-bot Bot commented Jul 27, 2026

Copy link
Copy Markdown

⚠️ No Changeset found

Latest commit: f8297c8

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant