Skip to content

Commit

Permalink
fix linter config
Browse files Browse the repository at this point in the history
  • Loading branch information
ninedraft committed Jul 21, 2024
1 parent d5e04b9 commit 8586724
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .golangci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,9 @@ run:
modules-download-mode: readonly # readonly|release|vendor

output:
format: colored-line-number # colored-line-number|line-number|json|tab
formats:
- format: colored-line-number
path: stdout
print-issued-lines: true # print lines of code with issue
print-linter-name: true # print linter name in the end of issue text

Expand Down Expand Up @@ -135,15 +137,13 @@ linters-settings:
min-confidency: 0

gomnd:
settings:
mnd:
checks: [argument, case, condition, operation, return, assign]
checks: [argument, case, condition, operation, return, assign]

govet:
check-shadowing: true
settings: {} # settings per analyzer
enable-all: false
enable:
- shadow
- assign # check for useless assignments
- atomic # check for common mistakes using the sync/atomic package
- bools # check for common mistakes involving boolean operators
Expand Down

0 comments on commit 8586724

Please sign in to comment.