Skip to content

Commit

Permalink
Merge pull request #1518 from grafana/chore/verify-golangci-lint-config
Browse files Browse the repository at this point in the history
chore(workflows): verify golangci-lint config
  • Loading branch information
weisdd committed May 5, 2024
2 parents 21c32b5 + 6d493bd commit b6f5a0d
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 10 deletions.
6 changes: 5 additions & 1 deletion .github/workflows/pr-validation.yaml
Expand Up @@ -97,7 +97,11 @@ jobs:
- name: golangci-lint
uses: golangci/golangci-lint-action@v5.0.0
with:
version: "v1.56.2"
version: "v1.57.2"

- name: Verify golangci-lint config
run: |
golangci-lint config verify
test:
runs-on: ubuntu-latest
Expand Down
9 changes: 0 additions & 9 deletions .golangci.yaml
Expand Up @@ -35,17 +35,10 @@ linters-settings:
misspell:
locale: US

unused:
go: "1.19"

unparam:
check-exported: true

govet:
check-shadowing: false

gosimple:
go: "1.19"
checks: ["all"]

errorlint:
Expand Down Expand Up @@ -88,13 +81,11 @@ linters-settings:

nolintlint:
allow-unused: false
allow-leading-space: true
allow-no-explanation: []
require-explanation: false
require-specific: false

staticcheck:
go: "1.19"
checks: ["all"]

thelper:
Expand Down

0 comments on commit b6f5a0d

Please sign in to comment.