Skip to content

Commit

Permalink
chore: make lint happy
Browse files Browse the repository at this point in the history
  • Loading branch information
fumiama committed Jul 11, 2024
1 parent 9db2c9e commit ff4259f
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions .golangci.yml
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
linters-settings:
errcheck:
ignore: fmt:.*,io/ioutil:^Read.*
ignoretests: true
exclude-functions:
- fmt:.*
- io/ioutil:^Read.*
- os:\(\*File\)\..*
- github.com/fumiama/WireGold/helper:\(\*Writer\)\.Write.*
- github.com/fumiama/WireGold/upper/services/tunnel:\(\*Tunnel\)\.(Write|Read)
- (*os.File).Write
- (*github.com/fumiama/WireGold/helper.Writer).Write
- (*github.com/fumiama/WireGold/upper/services/tunnel.Tunnel).Write
- (*github.com/fumiama/WireGold/upper/services/tunnel.Tunnel).Read

goimports:
local-prefixes: github.com/fumiama/WireGold
Expand Down Expand Up @@ -65,7 +65,8 @@ run:

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

0 comments on commit ff4259f

Please sign in to comment.