Skip to content

Commit

Permalink
chore: sync golangci-lint config
Browse files Browse the repository at this point in the history
  • Loading branch information
haunt98 committed May 11, 2024
1 parent efd9fd7 commit 65e4d59
Showing 1 changed file with 11 additions and 12 deletions.
23 changes: 11 additions & 12 deletions .golangci.yml
Original file line number Diff line number Diff line change
@@ -1,14 +1,6 @@
run:
timeout: 5m
tests: false
skip-dirs:
- ".*test.*"
- ".*mock.*"
- ".*example.*"
- ".*utils.*"
skip-files:
- ".*Mock.*"
- ".*_mock.*"

output:
sort-results: true
Expand All @@ -25,13 +17,12 @@ linters:
- typecheck
- unused
# Custom
- err113
- errchkjson
- errname
- errorlint
- execinquery
- forcetypeassert
- gocritic
- goerr113
- gofumpt
- gosec
- importas
Expand All @@ -40,10 +31,8 @@ linters:
- noctx
- prealloc
- reassign
# - rowserrcheck
- sqlclosecheck
- unconvert
# - wastedassign
fast: true

linters-settings:
Expand Down Expand Up @@ -91,3 +80,13 @@ linters-settings:
reassign:
patterns:
- ".*"

issues:
exclude-dirs:
- ".*test.*"
- ".*mock.*"
- ".*example.*"
- ".*utils.*"
exclude-files:
- ".*Mock.*"
- ".*_mock.*"

0 comments on commit 65e4d59

Please sign in to comment.