Skip to content

Commit fd40b5c

Browse files
chore: exclude generated fixtures and lockfiles via gitattributes
Mark recorded test-resource dumps (dependencies-outputs/, projects-outputs/), ApprovalTests snapshots (*.approved.txt), and package manager lockfiles as generated so they are excluded from code-size analyses. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
1 parent f6db5f6 commit fd40b5c

1 file changed

Lines changed: 12 additions & 0 deletions

File tree

.gitattributes

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
# Recorded test-resource fixtures: generated dumps of real-project build output
2+
# (e.g. gradle dependency / project-structure listings), not hand-written code.
3+
build-systems/gradle/src/test/resources/dependencies-outputs/** linguist-generated
4+
build-systems/gradle/src/test/resources/projects-outputs/** linguist-generated
5+
6+
# ApprovalTests-generated snapshot files.
7+
**/*.approved.txt linguist-generated
8+
9+
# Dependency lockfiles (generated by package managers).
10+
**/package-lock.json linguist-generated
11+
**/yarn.lock linguist-generated
12+
**/pnpm-lock.yaml linguist-generated

0 commit comments

Comments
 (0)