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
It looks like when encountering a list within a list, yamllint expects an extra level of indentation. I'm running version 1.35.1. Here's an example which, according to the documentation, should pass.
It looks like when encountering a list within a list, yamllint expects an extra level of indentation. I'm running version
1.35.1
. Here's an example which, according to the documentation, should pass..yamllint.yaml
issue.yaml
Output:
I'm encountering this when parsing
mkdocs
configuration, where it's quite common to have lists within lists in thenav
section:To me 2 spaces for each list level seems natural (and sufficient), but I can't find examples in the latest yaml spec itself.
The text was updated successfully, but these errors were encountered: