We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
As it is known,
"Yes" and "No" should be enclosed in quotes (single or double) or else they will be interpreted as TrueClass and FalseClass values. https://support.asg.com/mob/mvw/10_0/mv_ag/using_quotes_with_yaml_special_characters.htm
I've checked and yes, in Ruby we get true or false instead. https://makandracards.com/makandra/24809-yaml-keys-like-yes-or-no-evaluate-to-true-and-false
true
false
So let's add an option not to format (i.e. remove quotes) for these keys? Because if they are quoted, it's highly likely intentional.
y|Y|yes|Yes|YES|n|N|no|No|NO |true|True|TRUE|false|False|FALSE |on|On|ON|off|Off|OFF
https://yaml.org/type/bool.html
The text was updated successfully, but these errors were encountered:
No branches or pull requests
As it is known,
I've checked and yes, in Ruby we get
true
orfalse
instead.https://makandracards.com/makandra/24809-yaml-keys-like-yes-or-no-evaluate-to-true-and-false
So let's add an option not to format (i.e. remove quotes) for these keys? Because if they are quoted, it's highly likely intentional.
https://yaml.org/type/bool.html
The text was updated successfully, but these errors were encountered: