Skip to content

Commit

Permalink
fix: lint warns (#129)
Browse files Browse the repository at this point in the history
Signed-off-by: Mateus Oliveira <[email protected]>
  • Loading branch information
mateusoliveira43 authored Dec 9, 2024
1 parent 973af37 commit ade1058
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions .golangci.yml
Original file line number Diff line number Diff line change
@@ -1,13 +1,12 @@
# Documentation reference https://github.com/golangci/golangci-lint/blob/v1.62.2/.golangci.reference.yml
run:
skip-dirs-use-default: false
modules-download-mode: readonly
allow-parallel-runners: true
skip-dirs:
- test/*

output:
format: colored-line-number
formats:
- format: colored-line-number
path: stdout
print-issued-lines: true
print-linter-name: true
uniq-by-line: true
Expand Down Expand Up @@ -91,12 +90,12 @@ linters:
- asciicheck
- bidichk
- bodyclose
- copyloopvar
- dogsled
- dupword
- durationcheck
- errcheck
- errchkjson
- exportloopref
- gci
- ginkgolinter
- goconst
Expand Down Expand Up @@ -125,6 +124,9 @@ linters:
fast: false

issues:
exclude-dirs:
- test/*
exclude-dirs-use-default: false
exclude-use-default: false
exclude-rules:
- linters:
Expand Down

0 comments on commit ade1058

Please sign in to comment.