Skip to content

Commit

Permalink
fix(ci): delete removed golangci-lint options
Browse files Browse the repository at this point in the history
A number of these are for long-deprecated and now removed linters and no
longer validate against the config schema so remove them here. Add hint
for yaml-language-server to point at the jsonschema to validate against.

Signed-off-by: Dominic Evans <[email protected]>
  • Loading branch information
dnwe committed Feb 3, 2025
1 parent 3709d93 commit 9f3b31a
Showing 1 changed file with 2 additions and 7 deletions.
9 changes: 2 additions & 7 deletions .golangci.yml
Original file line number Diff line number Diff line change
@@ -1,16 +1,12 @@
# yaml-language-server: $schema=https://golangci-lint.run/jsonschema/golangci.jsonschema.json
run:
timeout: 5m
deadline: 10m

linters-settings:
govet:
shadow: false
golint:
min-confidence: 0
enable-all: true
gocyclo:
min-complexity: 99
maligned:
suggest-new: true
dupl:
threshold: 100
goconst:
Expand Down Expand Up @@ -71,7 +67,6 @@ linters:
- govet
- misspell
- nilerr
- staticcheck
- typecheck
- unconvert
- unused
Expand Down

0 comments on commit 9f3b31a

Please sign in to comment.