Open EArbeitman opened 1 year ago
Hey @ash2k thanks for chiming in. I ask mostly because the most recent release was from 2021.
Do you have any links or example usages you could share?
Maybe you can help me address this error:
WARN [runner] Can't run linter goanalysis_metalinter: inspect: failed to load package app: could not load export data: no export data for "compass.com/app"
ERRO Running error: inspect: failed to load package app: could not load export data: no export data for "compass.com/app"
Here's my configuration:
BUILD
load("@com_github_ash2k_bazel_tools//golangcilint:def.bzl", "golangcilint")
golangcilint(
name = "golangcilint",
config = "//src/go:lint-config",
paths = [
"src/go/compass.com/app/...",
],
prefix = "compass.com",
)
WORKSPACE
git_repository(
name = "com_github_ash2k_bazel_tools",
commit = "aefb11464b6b83590e4154a98c29171092ca290f",
remote = "https://github.com/ash2k/bazel-tools",
shallow_since = "1644872739 +1100",
)
load("@com_github_ash2k_bazel_tools//golangcilint:deps.bzl", "golangcilint_dependencies")
golangcilint_dependencies()
The only rules from this project I personally use are multirun and bulldozer. All the linters don't work well with bazel.
I use it, so I think it is.