Skip to content

Commit

Permalink
updates
Browse files Browse the repository at this point in the history
  • Loading branch information
pkwarren committed Mar 21, 2024
1 parent 414435f commit 6baff77
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion make/go/scripts/checknolintlint.bash
Expand Up @@ -37,7 +37,12 @@ fi
# require-specific: true
#

declare allow_unused= require_explanation= require_specific= allow_no_explanation_0=
# These values will be set below by the yq command (if set in the file).
allow_unused=
require_explanation=
require_specific=
allow_no_explanation_0=

eval $(yq --output-format shell '.linters-settings.nolintlint' .golangci.yml)
if [[ "${allow_unused}" != "false" ]]; then
echo ".golangci.yml: nolintlint allow-unused must be set to false" >&2
Expand Down

0 comments on commit 6baff77

Please sign in to comment.