mirror of
https://github.com/sourcegraph/sourcegraph.git
synced 2026-02-06 14:11:44 +00:00
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>
11 lines
351 B
Python
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",
|
|
)
|