Skip to content

Allow paralleltest setting "ignoreloopVar" #4511

@yolocs

Description

@yolocs

Your feature request related to a problem? Please describe.

Per Go 1.22 (tip.golang.org/doc/go1.22), reinitialize loop (range) variable is no longer needed. https://github.com/kunwardeep/paralleltest has merged PR to add setting ignoreloopVar to ignore this check. But the setting is not yet available from golangci-lint setting (see: https://github.com/golangci/golangci-lint/blob/master/jsonschema/golangci.jsonschema.json#L2143).

Describe the solution you'd like.

Support paralleltest ignoreloopVar setting

Describe alternatives you've considered.

N/A

Additional context.

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    duplicateThis issue or pull request already exists

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions