Skip to content

Commit

Permalink
chore: add gitattributes to templates (#1686)
Browse files Browse the repository at this point in the history
  • Loading branch information
holic authored Oct 3, 2023
1 parent c714e5d commit b37c8cc
Show file tree
Hide file tree
Showing 5 changed files with 14 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .gitattributes
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# suppress diffs for codegen in PRs
# suppress diffs for generated files
**/pnpm-lock.yaml linguist-generated=true
**/codegen/**/*.sol linguist-generated=true
**/test-data/**/*.json linguist-generated=true
3 changes: 3 additions & 0 deletions templates/phaser/.gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# suppress diffs for generated files
**/pnpm-lock.yaml linguist-generated=true
**/codegen/**/*.sol linguist-generated=true
3 changes: 3 additions & 0 deletions templates/react/.gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# suppress diffs for generated files
**/pnpm-lock.yaml linguist-generated=true
**/codegen/**/*.sol linguist-generated=true
3 changes: 3 additions & 0 deletions templates/threejs/.gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# suppress diffs for generated files
**/pnpm-lock.yaml linguist-generated=true
**/codegen/**/*.sol linguist-generated=true
3 changes: 3 additions & 0 deletions templates/vanilla/.gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# suppress diffs for generated files
**/pnpm-lock.yaml linguist-generated=true
**/codegen/**/*.sol linguist-generated=true

1 comment on commit b37c8cc

@vercel
Copy link

@vercel vercel bot commented on b37c8cc Oct 3, 2023

Choose a reason for hiding this comment

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

Please sign in to comment.