-
Notifications
You must be signed in to change notification settings - Fork 36
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #20 from fluxcd/cleanup
Various cleanup fixes
- Loading branch information
Showing
36 changed files
with
841 additions
and
412 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,59 @@ | ||
run: | ||
# timeout for analysis, e.g. 30s, 5m, default is 1m | ||
timeout: 1m | ||
tests: false | ||
|
||
linters: | ||
enable: | ||
# Default | ||
- govet | ||
- errcheck | ||
- staticcheck | ||
- unused | ||
- gosimple | ||
- structcheck | ||
- varcheck | ||
- ineffassign | ||
- deadcode | ||
- typecheck | ||
# Extra, see list of https://golangci-lint.run/usage/linters/ | ||
- bodyclose | ||
- golint | ||
# - rowserrcheck is not applicable here | ||
- stylecheck | ||
- gosec | ||
# - interfacer is deprecated | ||
- unconvert | ||
- dupl | ||
- goconst | ||
- gocyclo | ||
- gocognit | ||
- asciicheck | ||
- gofmt | ||
- goimports | ||
- maligned | ||
# - depguard is not applicable here | ||
- misspell | ||
# - lll allow long lines for now, maybe revisit this later | ||
- unparam | ||
- dogsled | ||
- nakedret | ||
- prealloc | ||
- scopelint | ||
- gocritic | ||
- gochecknoinits | ||
- gochecknoglobals | ||
# - godox don't error although there are TODOs in the code | ||
- funlen | ||
- whitespace | ||
# - wsl allow "non-idiomatic" whitespace formattings for now | ||
- goprintffuncname | ||
- gomnd | ||
- goerr113 | ||
# - gomodguard is not applicable here | ||
- godot | ||
# - testpackage is not applicable here | ||
# - nestif is covered by gocognit | ||
# - exportloopref is covered by scopelint | ||
- exhaustive | ||
- nolintlint |
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
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
Oops, something went wrong.