This repository has been archived by the owner on Feb 9, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 110
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Update buildbox dockerfile to include lint. Implement grpc/golint targets as host-local builds in top-level Makefile. Move grpc/golint targets to build.assets/Makefile for docker-based builds. * Set the target linter package configuration to everything - this will vary with each linter PR though and will be set back to everything after all linter warnings have been addressed
- Loading branch information
1 parent
5d9abe3
commit 6bd0d2e
Showing
5 changed files
with
176 additions
and
32 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,65 @@ | ||
issues: | ||
exclude-rules: | ||
- linters: gosimple | ||
text: "S1002: should omit comparison to bool constant" | ||
- linters: | ||
- gosec | ||
text: "G204: Subprocess launched with variable" | ||
- linters: | ||
- gosec | ||
text: "G204: Subprocess launched with function call as argument or cmd arguments" | ||
exclude-use-default: true | ||
max-same-issues: 0 | ||
max-issues-per-linter: 0 | ||
|
||
linters-settings: | ||
gosec: | ||
excludes: | ||
- G204 | ||
gofmt: | ||
simplify: false | ||
exhaustive: | ||
default-signifies-exhaustive: true | ||
|
||
linters: | ||
disable-all: true | ||
enable: | ||
- revive | ||
- goimports | ||
- bodyclose | ||
- deadcode | ||
- depguard | ||
- dogsled | ||
- errcheck | ||
- exportloopref | ||
- exhaustive | ||
- gofmt | ||
- goimports | ||
- goprintffuncname | ||
- gosec | ||
- gosimple | ||
- govet | ||
- ineffassign | ||
- misspell | ||
- nakedret | ||
- noctx | ||
- nolintlint | ||
- rowserrcheck | ||
- staticcheck | ||
- structcheck | ||
- stylecheck | ||
- typecheck | ||
- unconvert | ||
- unparam | ||
- unused | ||
- varcheck | ||
|
||
output: | ||
uniq-by-line: false | ||
|
||
run: | ||
skip-dirs: | ||
- vendor | ||
- mage | ||
skip-dirs-use-default: false | ||
timeout: 5m |
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