Skip to content

config file json schema #1453

Closed
Closed
@zepatrik

Description

@zepatrik

Is your feature request related to a problem? Please describe.

I have written a JSON Schema for golangci-lint's config file. Maybe someone can check or even improve it? Some of the descriptions could be improved upon also 😉
SchemaStore/schemastore#1312

This will enable autocompletion, tooltips and validation in IDEs like VSCode or JetBrains.

Describe the solution you'd like

A second (or even more) pair of eyes to check the schema. Maybe you have some example config files that the schema can be tested against.

I can also add a PR in this repository to add the schema. In other projects I already utilize documentation generation of pages like your https://golangci-lint.run/usage/configuration/#config-file page from the schema.

Describe alternatives you've considered

Just add it as is to the schemastore.

Additional context

One of the auto generated docs pages from one of my projects: https://www.ory.sh/kratos/docs/reference/configuration

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions