From f54fa7180a00186ce8f80b5791429aaadb6f1aae Mon Sep 17 00:00:00 2001 From: hantmac Date: Tue, 7 Apr 2020 20:26:26 +0800 Subject: [PATCH 1/2] add gitattributes --- .gitattributes | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 .gitattributes diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 00000000..2389fcc2 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,4 @@ +*.css linguist-language=go +*.less linguist-language=go +*.js linguist-language=go +*.html linguist-language=go From 0e8ba243562cc3532ec269f08a694d303fdeec2c Mon Sep 17 00:00:00 2001 From: hantmac Date: Tue, 7 Apr 2020 20:30:22 +0800 Subject: [PATCH 2/2] add tsx --- .gitattributes | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.gitattributes b/.gitattributes index 2389fcc2..c2401c5c 100644 --- a/.gitattributes +++ b/.gitattributes @@ -1,4 +1,5 @@ -*.css linguist-language=go +*.css linguist-language=go *.less linguist-language=go -*.js linguist-language=go +*.js linguist-language=go +*.tsx linguist-language=go *.html linguist-language=go