Skip to content

Commit

Permalink
dear linter, using xerrors is what we want to do.
Browse files Browse the repository at this point in the history
  • Loading branch information
vyzo committed Apr 21, 2022
1 parent 48ffb15 commit 1c8880e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .golangci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ issues:
- "package comment should be of the form"
- "Potential hardcoded credentials"
- "Use of weak random number generator"
- "xerrors.* is deprecated"

exclude-use-default: false
exclude-rules:
Expand All @@ -53,7 +54,7 @@ issues:
- path: build/params_.*\.go
linters:
- golint

- path: api/apistruct/struct.go
linters:
- golint
Expand Down

0 comments on commit 1c8880e

Please sign in to comment.