From b37c8cc1a0bf47f38a5698d2db0c1b5f288a7d45 Mon Sep 17 00:00:00 2001 From: Kevin Ingersoll Date: Tue, 3 Oct 2023 11:53:00 +0100 Subject: [PATCH] chore: add gitattributes to templates (#1686) --- .gitattributes | 3 ++- templates/phaser/.gitattributes | 3 +++ templates/react/.gitattributes | 3 +++ templates/threejs/.gitattributes | 3 +++ templates/vanilla/.gitattributes | 3 +++ 5 files changed, 14 insertions(+), 1 deletion(-) create mode 100644 templates/phaser/.gitattributes create mode 100644 templates/react/.gitattributes create mode 100644 templates/threejs/.gitattributes create mode 100644 templates/vanilla/.gitattributes diff --git a/.gitattributes b/.gitattributes index ee7e869fad..6f11e7ad3b 100644 --- a/.gitattributes +++ b/.gitattributes @@ -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 diff --git a/templates/phaser/.gitattributes b/templates/phaser/.gitattributes new file mode 100644 index 0000000000..9c70dc52f0 --- /dev/null +++ b/templates/phaser/.gitattributes @@ -0,0 +1,3 @@ +# suppress diffs for generated files +**/pnpm-lock.yaml linguist-generated=true +**/codegen/**/*.sol linguist-generated=true diff --git a/templates/react/.gitattributes b/templates/react/.gitattributes new file mode 100644 index 0000000000..9c70dc52f0 --- /dev/null +++ b/templates/react/.gitattributes @@ -0,0 +1,3 @@ +# suppress diffs for generated files +**/pnpm-lock.yaml linguist-generated=true +**/codegen/**/*.sol linguist-generated=true diff --git a/templates/threejs/.gitattributes b/templates/threejs/.gitattributes new file mode 100644 index 0000000000..9c70dc52f0 --- /dev/null +++ b/templates/threejs/.gitattributes @@ -0,0 +1,3 @@ +# suppress diffs for generated files +**/pnpm-lock.yaml linguist-generated=true +**/codegen/**/*.sol linguist-generated=true diff --git a/templates/vanilla/.gitattributes b/templates/vanilla/.gitattributes new file mode 100644 index 0000000000..9c70dc52f0 --- /dev/null +++ b/templates/vanilla/.gitattributes @@ -0,0 +1,3 @@ +# suppress diffs for generated files +**/pnpm-lock.yaml linguist-generated=true +**/codegen/**/*.sol linguist-generated=true