4 ms·
The Norway issue is a bit blown out of proportion seeing as the country should really be a string `"no"` rather than the `no` value
by airstrike 10mo ago
The Norway issue is a bit blown out of proportion seeing as the country should really be a string `"no"` rather than the `no` value
- actionfromafar 10mo agoYeah, but it's a fun slogan. My real peeve is constantly getting the spaces wrong and no tooling to compensete for its warts. If there were linters and test frameworks and unit tests etc for yaml, I'd just sigh and move on. But current situation is, for instance in ADO Yaml: "So it's time to cut a release and time is short - we have a surprise for you! This will make some condition go true which triggers something not tested up till now, you will now randomly commit shit on the release branch until it builds again." Stuff that would have been structurally impossible in XML will happen in yaml. And I don't even like XML.
- Y-bar 10mo ago> If there were linters Available and kept up-to-date. I found for Python, PHP: https://github.com/j13k/yaml-lint https://github.com/j13k/yaml-lint https://github.com/adrienverge/yamllint https://github.com/adrienverge/yamllint Also .net: https://github.com/aaubry/YamlDotNet https://github.com/aaubry/YamlDotNet And NPM/js: https://github.com/stoplightio/spectral https://github.com/stoplightio/spectral
- marxisttemp 10mo agoYAML strings should really require delimiters rather than being context-dependent.