Update .gitattributes for .tmpl files (#18576)

There are a few .tmpl files outside the templates directory. Match these
as well by using `*.tmpl` glob in `.gitattributes`. Also, sort the file
alphabetically.
This commit is contained in:
silverwind 2022-02-03 07:30:26 -08:00 committed by GitHub
parent 1c5afd17ee
commit 90b4d385dd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 4 deletions

8
.gitattributes vendored
View File

@ -1,9 +1,9 @@
* text=auto eol=lf * text=auto eol=lf
/vendor/** -text -eol linguist-vendored *.tmpl linguist-language=Handlebars
/public/vendor/** -text -eol linguist-vendored
/web_src/js/vendor/** -text -eol linguist-vendored
/templates/**/*.tmpl linguist-language=Handlebars
/.eslintrc linguist-language=YAML /.eslintrc linguist-language=YAML
/.stylelintrc linguist-language=YAML /.stylelintrc linguist-language=YAML
/public/vendor/** -text -eol linguist-vendored
/vendor/** -text -eol linguist-vendored
/web_src/fomantic/build/** linguist-generated /web_src/fomantic/build/** linguist-generated
/web_src/js/vendor/** -text -eol linguist-vendored
Dockerfile.* linguist-language=Dockerfile Dockerfile.* linguist-language=Dockerfile