Skip to content

Commit

Permalink
chore: update golangci
Browse files Browse the repository at this point in the history
Signed-off-by: Valery Piashchynski <[email protected]>
  • Loading branch information
rustatian committed Apr 5, 2024
1 parent 595e586 commit f9980e2
Showing 1 changed file with 5 additions and 9 deletions.
14 changes: 5 additions & 9 deletions .golangci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,22 +2,16 @@

run:
timeout: 1m
skip-dirs:
- .github
- .git
modules-download-mode: readonly
allow-parallel-runners: true

output:
format: colored-line-number # colored-line-number|line-number|json|tab|checkstyle|code-climate
formats:
- format: colored-line-number # colored-line-number|line-number|json|tab|checkstyle|code-climate

linters-settings:
govet:
check-shadowing: true
revive:
confidence: 0.8
errorCode: 0
warningCode: 0
gocyclo:
min-complexity: 15
godot:
Expand All @@ -37,7 +31,6 @@ linters-settings:
range-loops: true
for-loops: true
nolintlint:
allow-leading-space: false
require-specific: true

linters: # All available linters list: <https://golangci-lint.run/usage/linters/>
Expand Down Expand Up @@ -72,6 +65,9 @@ linters: # All available linters list: <https://golangci-lint.run/usage/linters/
- whitespace # Tool for detection of leading and trailing whitespace

issues:
exclude-dirs:
- .github
- .git
exclude-rules:
- path: _test\.go
linters:
Expand Down

0 comments on commit f9980e2

Please sign in to comment.