Skip to content

Version the config schemas so that users can specify version in their config file for automatic IDE schema validations #4928

@dakojohn

Description

@dakojohn

Welcome

Your feature request related to a problem? Please describe

Dependency updating takes time on large teams, especially if it's not currently broken.

IDEs automatically use the config schema that was recently created to provide schema validation in the editor, but because the only schema available is for the current version of golangci-lint, the validation in IDEs may not reflect the version a user is running, causing confusion.

Describe the solution you'd like

Find a way to version the schemas you are hosting so that users that are on an older version of golangci-lint can select the correct version of the schema, and are not confused by the IDEs automatic schema validation.

Describe alternatives you've considered

Not really any viable alternatives... I guess I could disable schema validation in my IDE for every repo I touch with golangci-lint? But that defeats the purpose of schema validation.

Additional context

No response

Supporter

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions