tests/provider: Fix and enable wastedassign linter #18596
Labels
linter
Pertains to changes to or issues with the various linters.
provider
Pertains to the provider itself, rather than any interaction with AWS.
stale
Old or inactive issues managed by automation, if no further action taken these will get closed.
tests
PRs: expanded test coverage. Issues: expanded coverage, enhancements to test infrastructure.
Milestone
Community Note
Description
The
wastedassign
linter finds wasted assignment statements. This typically represents a stylistic coding issue and fixing reports will increase code readability. This linter is similar toifeffassign
, but catches different reports. It is supported ingolangci-lint
.Affected Resource(s)
Definition of Done
golangci-lint --max-issues-per-linter 0 --enable wastedassign run ./aws
wastedassign
added to.golangci.yml
and CI passesThe text was updated successfully, but these errors were encountered: