YAML ordering best practices/is it worth it? #28
RyanBacastow
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi all,
While making a pull request for some possible enhancements I got a bit carried away down a rabbit hole of best YAML practices and eventually ordered everything alphabetically before shifting back from that approach because the base contract fields themselves were also then interspersed with the 'section' fields and readability/coherence was reduced quite a bit.
It's relatively straightforward to make a custom yaml sorter by alphabetical order but I was curious, is it simply overkill to try to enforce that standard in this project?
Beta Was this translation helpful? Give feedback.
All reactions