Skip to content

Commit

Permalink
[wip] .golangci.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
kyleam committed Aug 13, 2024
1 parent ece648f commit 0ca134c
Showing 1 changed file with 3 additions and 7 deletions.
10 changes: 3 additions & 7 deletions .golangci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ linters-settings:
errcheck:
check-type-assertions: true
govet:
check-shadowing: true
shadow: true
unparam:
check-exported: true
unused:
Expand All @@ -31,23 +31,20 @@ linters-settings:

run:
skip-dirs-use-default: true
skip-dirs:
exclude-dirs:
- (^|/)mock($|/)
- internal/valtools
timeout: 3m

linters:
enable:
- deadcode
- errcheck
- gosimple
- govet
- ineffassign
- staticcheck
- structcheck
- typecheck
- unused
- varcheck
# - gosec
- unparam
- unconvert
Expand All @@ -59,5 +56,4 @@ linters:
- whitespace
- rowserrcheck
- godot
- ifshort
- nakedret
- nakedret

0 comments on commit 0ca134c

Please sign in to comment.