We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8e91b27 commit 9e35d38Copy full SHA for 9e35d38
.gitattributes
@@ -0,0 +1,6 @@
1
+# Force Linguist to always identify .ts files as TypeScript.
2
+# Otherwise .ts files with a Node shebang are incorrectly identified as JavaScript.
3
+# https://github.com/github/linguist/issues/4469#issuecomment-475683753
4
+# https://github.com/github/linguist/issues/4923
5
+# https://github.com/github/linguist/issues/4112
6
+*.ts linguist-language=TypeScript
0 commit comments