aboutsummaryrefslogtreecommitdiff
path: root/.gitattributes
diff options
context:
space:
mode:
authorsilverwind2022-02-03 07:30:26 -0800
committerGitHub2022-02-03 15:30:26 +0000
commit90b4d385dd57b2f8396ab39f0ac1279472059a1b (patch)
treed995622dd5199c6825d0e62c247fcc954c759993 /.gitattributes
parent1c5afd17ee38108b91c803d5d82ac47f3b333c85 (diff)
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.
Diffstat (limited to '.gitattributes')
-rw-r--r--.gitattributes8
1 files changed, 4 insertions, 4 deletions
diff --git a/.gitattributes b/.gitattributes
index 4e83849e0..12c45dbc6 100644
--- a/.gitattributes
+++ b/.gitattributes
@@ -1,9 +1,9 @@
* text=auto eol=lf
-/vendor/** -text -eol linguist-vendored
-/public/vendor/** -text -eol linguist-vendored
-/web_src/js/vendor/** -text -eol linguist-vendored
-/templates/**/*.tmpl linguist-language=Handlebars
+*.tmpl linguist-language=Handlebars
/.eslintrc 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/js/vendor/** -text -eol linguist-vendored
Dockerfile.* linguist-language=Dockerfile