You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I guess you meant "should not cause an error like this"?
This is probably a very subjective topic, depending on how you "see" and "feel" YAML.
I kind of agree with what you say. However, some others users would dislike such a change, because it would mean this wrongly-indented comment wouldn't be reported:
I guess you meant "should not cause an error like this"?
Yup, corrected.
This kinda makes sense. Maybe this is specific for our use case where we comment our yaml files extensively to make users aware what are they configuring.
Specifically we use ## to indicate comments about below commented code (which is optional) to describe what it would configure in case it wasn't uncommented.
Maybe there's a way to separate this with what you described? OTOH they are both comments and yamllint's config mentions specifically about comments-indentation nothing else.
I believe the following yaml:
shouldn't cause an error like this:
Config used:
The text was updated successfully, but these errors were encountered: