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