Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No error on invalid tag sequence format #557

Closed
RedCMD opened this issue Jun 26, 2024 · 0 comments
Closed

No error on invalid tag sequence format #557

RedCMD opened this issue Jun 26, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@RedCMD
Copy link

RedCMD commented Jun 26, 2024

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

@RedCMD RedCMD added the bug Something isn't working label Jun 26, 2024
@eemeli eemeli closed this as completed in aea700d Jun 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant