-
Couldn't load subscription status.
- Fork 8
ci: enable golangci-lint #38
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #38 +/- ##
=======================================
Coverage 38.71% 38.71%
=======================================
Files 24 24
Lines 2255 2255
=======================================
Hits 873 873
Misses 1207 1207
Partials 175 175 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
Signed-off-by: Ramkumar Chinchani <rchincha.dev@gmail.com>
|
|
||
| # Optional: golangci-lint command line arguments. | ||
| # args: --issues-exit-code=0 | ||
| args: --config ./golangcilint.yaml --exclude-files ./pkg/verity/verity.go --enable-all ./cmd/... ./pkg/... |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could you comment on excluding verity.go ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ah, I see below related to cgo ... can we add that comment to the lint.yaml so we remember why?
| timeout: 60m | ||
|
|
||
| linters: | ||
| enable-all: true |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
How do you feel about not tweaking these? While I don't some of the defaults, it might be easier than keeping a list of what we don't want?
No description provided.