lint: Add disabled clang-format linter
A follow-up patch will enable the linter and run clang-format on the
entire repo. You'll be able to run it in one of two ways:
$ bazel run //tools/lint:clang_format
and, along with all the other linters once its enabled:
$ bazel run //tools/lint:run-ci
Signed-off-by: Philipp Schrader <philipp.schrader@gmail.com>
Change-Id: I1dab4e682096826ee57d70f8c82662d9c2c33217
diff --git a/tools/lint/run-ci.sh b/tools/lint/run-ci.sh
index 6e026ee..1f5fda4 100755
--- a/tools/lint/run-ci.sh
+++ b/tools/lint/run-ci.sh
@@ -23,6 +23,10 @@
export GOCACHE=/tmp/lint_go_cache
fi
+clang_format() {
+ ./tools/lint/clang_format
+}
+
gofmt() {
./tools/lint/gofmt
}
@@ -110,6 +114,7 @@
# All the linters that we are going to run.
readonly -a LINTERS=(
+ #clang_format
gofmt
gomod
update_go_repos