Skip to content

Commit

Permalink
ci: remove duplicate and unused linters and fix .golangci.yaml schema
Browse files Browse the repository at this point in the history
  • Loading branch information
l-hellmann committed May 5, 2024
1 parent db8b196 commit f08568e
Showing 1 changed file with 4 additions and 19 deletions.
23 changes: 4 additions & 19 deletions .golangci.yaml
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
concurrency: 16
run:
deadline: 10m
timeout: 10m
concurrency: 16
issues-exit-code: 1
tests: true

output:
format: colored-line-number
formats:
- format: colored-line-number

linters-settings:
godox:
Expand All @@ -17,25 +18,12 @@ issues:

linters:
enable:
- scopelint
- govet
- ineffassign
- varcheck
- unused
- deadcode
- bodyclose
- structcheck
- staticcheck
- godox
- rowserrcheck
- prealloc
- asasalint
- asciicheck
- bidichk
- bodyclose
- containedctx
- contextcheck
- deadcode
- decorder
- dogsled
- dupword
Expand Down Expand Up @@ -86,11 +74,9 @@ linters:
- protogetter
- reassign
- rowserrcheck
- scopelint
- sloglint
- sqlclosecheck
- staticcheck
- structcheck
- tagalign
- tagliatelle
- tenv
Expand All @@ -103,7 +89,6 @@ linters:
- unparam
- unused
- usestdlibvars
- varcheck
- wastedassign
- whitespace
- zerologlint
Expand Down

0 comments on commit f08568e

Please sign in to comment.