forked from tohjustin/kube-lineage
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: futuretea <[email protected]>
- Loading branch information
Showing
5 changed files
with
60 additions
and
71 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,44 +1,27 @@ | ||
run: | ||
deadline: 5m | ||
skip-dirs: | ||
- go/pkg/mod | ||
linters: | ||
enable-all: true | ||
disable: | ||
- golint # deprecated | ||
- interfacer # deprecated | ||
- maligned # deprecated | ||
- scopelint # deprecated | ||
- cyclop # duplicate of gocyclo | ||
- rowserrcheck # exclude 'sql' preset | ||
- sqlclosecheck # exclude 'sql' preset | ||
- exhaustivestruct | ||
- gochecknoglobals | ||
- goconst | ||
- godox | ||
- goerr113 | ||
- gomnd | ||
- gomoddirectives | ||
- lll | ||
- nlreturn | ||
- prealloc | ||
- wrapcheck | ||
- wsl | ||
enable: | ||
- vet | ||
- staticcheck | ||
- errcheck | ||
- gofmt | ||
- goimports | ||
- whitespace | ||
- unused | ||
- ineffassign | ||
- stylecheck | ||
- gosimple | ||
- misspell | ||
# - depguard | ||
# - goconst | ||
# - prealloc | ||
# - gosec | ||
enable-all: false | ||
disable-all: true | ||
fast: false | ||
linters-settings: | ||
depguard: | ||
list-type: blacklist | ||
include-go-root: true | ||
packages: | ||
- errors | ||
- io/ioutil | ||
- sync/atomic | ||
- github.com/pkg/errors | ||
- github.com/stretchr/testify/assert | ||
- gotest.tools/v3 | ||
packages-with-error-message: | ||
- errors: "Use github.com/cockroachdb/errors instead." | ||
- io/ioutil: "The 'io/ioutil' package is deprecated. Use corresponding 'os' or 'io' functions instead." | ||
- sync/atomic: "Use go.uber.org/atomic instead." | ||
- github.com/pkg/errors: "Use github.com/cockroachdb/errors instead." | ||
- github.com/stretchr/testify/assert: "Use github.com/stretchr/testify/require instead." | ||
- gotest.tools/v3: "Use github.com/stretchr/testify instead." | ||
gci: | ||
goimports: | ||
local-prefixes: github.com/tohjustin/kube-lineage |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters