Skip to content

Commit

Permalink
chore: fix linter deprecations [minor]
Browse files Browse the repository at this point in the history
  • Loading branch information
sloonz committed Dec 20, 2024
1 parent 0cf31e3 commit f4c1e78
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
5 changes: 0 additions & 5 deletions .errcheck-exclude.cfg

This file was deleted.

11 changes: 8 additions & 3 deletions .golangci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,18 @@ linters:
- gofmt
- gosec
- revive
run:
skip-files:
issues:
exclude-files:
- "secretstream/secretstream.go"
- "secretstream/secretstream_test.go"
linters-settings:
errcheck:
exclude: .errcheck-exclude.cfg
exclude-functions:
- (*io.PipeReader).CloseWithError
- (*io.PipeWriter).CloseWithError
- encoding/binary.Write(*bytes.Buffer)
- (*github.com/spf13/cobra.Command).Help
- (*os.Process).Kill
gosec:
excludes:
- G204
Expand Down

0 comments on commit f4c1e78

Please sign in to comment.