Open lopopolo opened 1 year ago
You need to exclude that lib from that linter in the nogo.json file
{
"shadow": {
"description": "Shadow config for all analyzers.",
"exclude_files": {
"external/org_golang_x_tools/": "exclude golang_x_tools"
}
}
}
Full example here nogo-docs
What version of gazelle are you using?
v0.28.0
What version of rules_go are you using?
v0.37.0
What version of Bazel are you using?
This issue reproduces with both bazel 5.4.0 and bazel 6.0.0
Does this issue reproduce with the latest releases of all the above?
yes
What operating system and processor architecture are you using?
What did you do?
WORKSPACE
BUILD.bazel
then run:
and
What did you expect to see?
No compilation errors.
What did you see instead?
and