diff --git a/.gitattributes b/.gitattributes index af717190c..a196f57f1 100644 --- a/.gitattributes +++ b/.gitattributes @@ -1,4 +1,8 @@ -# Snapshots are taken by our test suite and used to determine regressions. -# We don't need to review their code in PRs, so treat them as auto-generated. +# Define auto-generated file patterns to hide within GitHub's PR diff/file preview. # https://docs.github.com/en/repositories/working-with-files/managing-files/customizing-how-changed-files-appear-on-github + +# Snapshots are taken by our test suite and used to determine regressions. *.snap linguist-generated=true + +# GraphQL Codegen outputs ++ src/renderer/utils/api/graphql/generated/**/*.ts linguist-generated=true \ No newline at end of file