fix: ensure indent-seq works in nested collections
When {spaces: consistent, indent-sequences: true} (the defaults), and the expected indent for a block sequence that should be indented is unknown, set the expected indent to an unknown value (-1) rather than an arbitrary one (2). This ensures wrong-indentation is properly caught when block sequences are nested. Fixes issue #485pull/491/head
parent
4d271f3daf
commit
2a117a00ed
Loading…
Reference in New Issue