302 B
302 B
Preserve order of anchor and tag (#19599 by @fisker)
# Input
foo: &anchor1 !!str Value1
bar: !!str &anchor2 Value2
# Prettier stable
foo: !!str &anchor1 Value1
bar: !!str &anchor2 Value2
# Prettier main
foo: &anchor1 !!str Value1
bar: !!str &anchor2 Value2