Skip to content

Commit

Permalink
replace deprectated skip-dirs with exclude-dirs in lint-project.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
m-orion-cook committed May 10, 2024
1 parent a7d3eb5 commit 89883cf
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions go/lint-project.sh
Original file line number Diff line number Diff line change
Expand Up @@ -293,7 +293,8 @@ run:
timeout: 5m
tests: false
go: "$GO_VERSION"
skip-dirs:
issues:
exclude-dirs:
- "cmd/*"
- "admin"
- "client"
Expand Down Expand Up @@ -349,7 +350,7 @@ EOF
disabled="-D=$DISABLED_GOLANGCI_LINTERS"
fi

./bin/golangci-lint $GOLANGCI_FLAGS run "$enabled" "$disabled" --verbose --go="$GO_VERSION" --skip-dirs="(admin|client)" --timeout=5m $GOLANGCI_TAGS
./bin/golangci-lint $GOLANGCI_FLAGS run "$enabled" "$disabled" --verbose --go="$GO_VERSION" --exclude-dirs="(admin|client)" --timeout=5m $GOLANGCI_TAGS
echo "FINISHED golangci-lint checks"

# Cleanup
Expand Down

0 comments on commit 89883cf

Please sign in to comment.