You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Bump reviewdog golangci-lint action major version
This is a necessary precursor to bumping the Go version from 1.21 to
1.22, which will be done in separate PR.
* Remove deprecated deadcode linter
See golangci/golangci-lint#3125
* Add missing period at end of comment
As warned by golangci-lint.
* Remove unnecessary trailing whitespace
As per golangci-lint warning.
* Change case of variable to mixed not snake
As per golangci-lint warning.
* Fix cuddled statements warned by golangci-lint
* Fix return with no blank line before lint warnings
* Fix unchecked error return value linting warnings
* Exclude line from line length linter warning
* Format files with gofumpt to fix linting warnings
* Exclude file permissions line from gosec linting
The [gosec linter][1] warns by default on
[file permissions above 0600][2]. We need the permissions to be 0644 for
this line (because it has to be written to), so we exclude it from
linting.
[1]: https://github.com/securego/gosec
[2]: securego/gosec#107
* Remove depguard from Go linting
Created #430 to consider reinstating it in the future.
* Fix magic number warning by extracting constant
* Fix cuddling linter warnings
* Add required comment to exported function
* Do not use deprecated ioutil package
* Remove unused function
One way to evaluate using depguard would be to turn it on on a feature branch and then see what warnings it produces, and if they are useful.
The text was updated successfully, but these errors were encountered: