Skip to content

Commit

Permalink
chore: update linter settings
Browse files Browse the repository at this point in the history
  • Loading branch information
Redmomn committed Nov 28, 2024
1 parent acf7701 commit 7fdb04c
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .golangci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ linters-settings:
exclude-functions:
- fmt:.*
- io/ioutil:^Read.*
ignoretests: true

goimports:
local-prefixes: github.com/Mrs4s/go-cqhttp
Expand Down Expand Up @@ -53,13 +52,15 @@ linters:
run:
# default concurrency is a available CPU number.
# concurrency: 4 # explicitly omit this value to fully utilize available resources.
deadline: 5m
timeout: 5m
issues-exit-code: 1
tests: true

# output configuration options
output:
formats: "colored-line-number"
formats:
- format: colored-line-number
path: stdout
print-issued-lines: true
print-linter-name: true
uniq-by-line: true
Expand Down

0 comments on commit 7fdb04c

Please sign in to comment.