Fix indentation rule for key following empty list
If a key-value pair follows an empty list, i.e.: ```yaml a: - b: c ``` yamllint will complain: ``` warning wrong indentation: expected 2 but found 0 (indentation) ``` This is because it is expecting the second key to be a continuation of the block entry above: ```yaml a: - b: c ``` However, both are perfectly valid, though structurally different.pull/77/head
parent
c4a3e15ff0
commit
c7845b5bc2
Loading…
Reference in New Issue