Open bryanwhiting opened 6 months ago
Hey @bryanwhiting . It looks like you ran into a some YAML syntax that the Linter does not know how to handle. I am not sure when or if this will get addressed since there currently is not a good way to handle this scenario without reformatting the key value pairs at this time.
If someone would like to add a fix for this or handle this syntax before I or someone else does, feel free to make a PR.
In the meantime, if you do not have a particular reason to use the line break YAML syntax, I would not use it at this time.
Thanks for the quick reply. I'll just turn off sorting for now then, as I'm probably useless in trying to resolve this.
Turning off sorting keys prevents the problem.
Describe the Bug
Linting with line breaks doesn't work properly with the sorting feature. You'll notice the description falls down into the "draft" property.
Before lint:
After lint:
How to Reproduce
Sorting yaml rules in options
Expected Behavior
It should not shift the stuff after "|" down.
Screenshots
See above
Device