Tech Debt: Enable staticcheck S1017 Check #7240
Labels
linter
Pertains to changes to or issues with the various linters.
provider
Pertains to the provider itself, rather than any interaction with AWS.
technical-debt
Addresses areas of the codebase that need refactoring or redesign.
tests
PRs: expanded test coverage. Issues: expanded coverage, enhancements to test infrastructure.
Description
Recently a few Go language linting tools (e.g.
gosimple
andunused
) have merged intostaticcheck
. When switching our linting setup to the new combined linter, there are new default checks that began failing. We have explicitly disabled these in a root levelstaticcheck.conf
until the fixes can be addressed and acceptance tested.e.g.
Definition of Done
S1017
linting errors fromstaticcheck
are addressed-S1017
line instaticcheck.conf
is removedReferences
The text was updated successfully, but these errors were encountered: