Skip to content

Enable medium/low-effort linters #13016

Open

Description

@babakks

As listed in #12438, we need to enable the linters that are marked as medium/low-effort:

## Medium/low effort (based on number of issues):
    # - canonicalheader # checks whether net/http.Header uses canonical header
    # - embeddedstructfieldcheck # checks embedded types in structs
    # - errname # checks that sentinel errors are prefixed with the Err and error types are suffixed with the Error
    # - exhaustive # checks exhaustiveness of enum switch statements
    # - forbidigo # forbids identifiers
    # - gochecknoinits # checks that no init functions are present in Go code
    # - gocyclo # computes and checks the cyclomatic complexity of functions
    # - iface # checks the incorrect use of interfaces, helping developers avoid interface pollution
    # - intrange # finds places where for loops could make use of an integer range
    # - iotamixing # checks if iotas are being used in const blocks with other non-iota declarations
    # - makezero # finds slice declarations with non-zero initial length
    # - mirror # reports wrong mirror patterns of bytes/strings usage
    # - protogetter # reports direct reads from proto message fields when getters should be used
    # - recvcheck # checks for receiver type consistency
    # - testableexamples # checks if examples are testable (have an expected output)
    # - tparallel # detects inappropriate usage of t.Parallel() method in your Go test codes
    # - unconvert # removes unnecessary type conversions
    # - usetesting # reports uses of functions with replacement inside the testing package
    # - wastedassign # finds wasted assignment statements
    # - whitespace # detects leading and trailing whitespace

Activity

  1. added
    tech-debt
    core
    on Mar 24, 2026
  2. added
    enhancement
    and removed
    needs-triage
    on Mar 24, 2026
  3. github-actions commented on Mar 24, 2026

    @github-actions
    Contributor

    Thank you for your issue! We have categorized it as an enhancement (feature or improvement) request, and it has been added to our backlog. In doing so, we are not committing to implementing this feature at this time, but, we will consider it for future releases based on community feedback and our own product roadmap.

    Unless you see the help wanted Contributions welcome label, we are not currently looking for external contributions for this feature.

    If you come across this issue and would like to see it implemented, please add a thumbs up! This will help us prioritize the feature. Please only comment if you have additional information or viewpoints to contribute.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

coreenhancementtech-debt

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions