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
The initial idea is to stick to the current file style: reorder items without changing the way items are written (e.g. do not remove redundant quotes or reindent lists).
But I have nothing against such an opt-in feature to add support for "normalization".
For YAML there are two equally valid styles of indenting Arrays:
Elements indenting the Dash:
Elements not indenting the Dash:
yaml-sort
should stick with one of them. As the Output of Ruby'sHash#to_yaml
uses "not indenting Array-Elements" I strongly prefer this one.The text was updated successfully, but these errors were encountered: