From 0262b1b0a06ed325c35240d73482cfb45e00da93 Mon Sep 17 00:00:00 2001 From: Javier Maestro Date: Mon, 4 Nov 2024 18:59:36 +0000 Subject: [PATCH] feat: force GH Linguist syntax highlight (#1312) --- .gitattributes | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 .gitattributes diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 000000000..30c2e6ba8 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,8 @@ +*.bazel linguist-language=Starlark + +# TODO: remove once https://github.com/github-linguist/linguist/pull/7121 lands +WORKSPACE.bzlmod linguist-language=Starlark + +# .bazelrc are mostly a collection of the CLI arguments, so highlighting them +# as shell scripts looks quite alright and makes them quite readable +.bazelrc linguist-language=Shell