Skip to content

Commit

Permalink
chore(tooling): update linter configuration (#33)
Browse files Browse the repository at this point in the history
  • Loading branch information
matoous authored Jan 31, 2025
1 parent 6f7c81b commit 17dba7d
Showing 1 changed file with 6 additions and 10 deletions.
16 changes: 6 additions & 10 deletions .golangci.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
run:
timeout: 3m
skip-dirs-use-default: true

issues:
uniq-by-line: true
max-per-linter: 0
max-same-issues: 0
exclude-dirs-use-default: true
exclude-rules:
- path: _test\.go
linters:
Expand All @@ -23,7 +24,6 @@ issues:
- unparam

output:
uniq-by-line: true
sort-results: true

linters:
Expand All @@ -36,18 +36,17 @@ linters:
- errcheck
- errorlint
- exhaustive
- exportloopref
- gocritic
- gofmt
- goimports
- gomoddirectives
- goprintffuncname
- gosec
- gosimple
- gosimple
- govet
- ineffassign
- makezero
- megacheck
- misspell
- nakedret
- nakedret
Expand All @@ -59,15 +58,13 @@ linters:
- rowserrcheck
- sqlclosecheck
- staticcheck
# Disabled until we have proper camel-casing with initialisms
# See: https://golangci-lint.run/usage/linters/#stylecheck
# - stylecheck
- staticcheck
- stylecheck
- typecheck
- unconvert
- unparam
- unused
- vet
- vetshadow
- unused
- wastedassign
- whitespace

Expand Down Expand Up @@ -119,7 +116,6 @@ linters-settings:
gosimple:
checks: ["all"]
govet:
check-shadowing: true
enable-all: true
disable:
- fieldalignment
Expand Down

0 comments on commit 17dba7d

Please sign in to comment.