Skip to content

There is no ability to disable linting for a certain line/subtree. #666

@alexanium-dev

Description

@alexanium-dev

Is your enhancement related to a problem? Please describe.

The schema definition is out of my control and has a flaw: one property is defined as string, but accepts arbitrary objects. This leads to false errors.

Describe the solution you would like

I would like to be able to disable linting for some properties via comments in the code. Something like # yaml-schema disable-next-line.

Describe alternatives you have considered

I considered disabling linting completely for the whole file or for the schema. But these alternatives are not precise enough.

Additional context

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions