Skip to content

No error on invalid tag sequence format #557

@RedCMD

Description

@RedCMD

Describe the bug
The s-l-comments part of rule-s-l+block-collection requires there to be a newline break between tags ! and a sequence -

To Reproduce

! -
 a
- b
---
!
-
 c
- d

Expected behaviour
An error to be given at the first - (the a item)
b, c and d should all be fine

Versions

  • Environment: VSCode 1.90
  • yaml: 2.4.5

Additional context
image

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions