sourcegraph/linter_deps.bzl
William Bezuidenhout 1487312165
bazel: add nogo and define bodyclose linter locally (#48568)
This adds nogo to lint our code from within bazel.
## Test plan
`bazel build //cmd/frontend`

need to do a full build still
<!-- All pull requests REQUIRE a test plan:
https://docs.sourcegraph.com/dev/background-information/testing_principles
-->

---------

Co-authored-by: Jean-Hadrien Chabran <jh@chabran.fr>
2023-03-03 17:40:57 +02:00

11 lines
351 B
Python

load("@bazel_gazelle//:deps.bzl", "go_repository")
def linter_dependencies():
go_repository(
name = "com_github_timakin_bodyclose",
build_file_proto_mode = "disable_global",
importpath = "github.com/timakin/bodyclose",
sum = "h1:ig99OeTyDwQWhPe2iw9lwfQVF1KB3Q4fpP3X7/2VBG8=",
version = "v0.0.0-20200424151742-cb6215831a94",
)