Skip to content

Commit

Permalink
chore: remove deprecated configs in golang-ci lint
Browse files Browse the repository at this point in the history
  • Loading branch information
dhaus67 committed Jul 15, 2024
1 parent 67d89dd commit 1dc5645
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions .golangci.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
run:
timeout: 5m
go: "1.22"

issues:
exclude-use-default: false
Expand Down Expand Up @@ -45,23 +46,19 @@ linters-settings:
excludes:
- G101
gosimple:
go: "1.16"
checks: ["all"]
nolintlint:
allow-leading-space: false # require machine-readable nolint directives (i.e. with no leading space)
allow-unused: false # report any unused nolint directives
require-explanation: false # don't require an explanation for nolint directives
require-specific: true # require nolint directives to be specific about which linter is being skipped
revive:
min-confidence: 0
confidence: 0
# Due to https://github.com/golangci/golangci-lint/issues/2355 on MacOS the linter is failing with the error
# message too many files. Set the max-open-files explicitly.
max-open-files: 2048
staticcheck:
go: "1.16"
checks: ["all"]
stylecheck:
go: "1.16"
checks: ["all", "-ST1000"]

linters:
Expand Down

0 comments on commit 1dc5645

Please sign in to comment.