diff --git a/.gitattributes b/.gitattributes index b0473b13881..1110d7b0e18 100644 --- a/.gitattributes +++ b/.gitattributes @@ -12,3 +12,8 @@ # Skill scripts run on every platform, so keep LF line endings. /skills/** text=auto eol=lf + +# Collapse generated files in GitHub diffs and exclude them from language stats. +/packages/contracts/generated/** linguist-generated +/api/openapi/markdown/** linguist-generated +*.generated.ts linguist-generated