-
Notifications
You must be signed in to change notification settings - Fork 8
New issue
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
Feature request > Fix quoted-strings
#195
Comments
Hi @tamere-allo-peter , what's your opinion about this feature request ? |
@adriens very complex. Currently we don't use yamllint's configuration file, we only pass it as-is to yamllint when needed, and we "fix" by doing what yamllint suggests, whenever it does suggest something, and do our best the remaining of the time. Closing this one is very hard work because if we begin to parse yamllint's configuration file, this opens the door to a number of other fixes we should do according to this file that we don't right now. |
So should we flag this as a |
@adriens we'll leave it open for now, maybe I'll have more time for this at the end of the year. |
Perhaps that it opens the door to different fixes, but the scope of the current github issue would remain "to automatically fix This said, another issue would need to be created & resolved first (i.e. ps: thanks for this package, it's really great! |
Re-reading my previous comment, it might be something that On my end, I see this message from
And I am wondering if this message is informative enough to be actionable? it seems to suggest to replace the single quotes by double quotes or to add double-quotes. |
Yes it seems to be informative enough in the general case, however unfortunately I don't have the time to work on this project at the moment. |
❔ Context
Fix
quoted-strings
. Docs:https://yamllint.readthedocs.io/en/stable/rules.html#module-yamllint.rules.quoted_strings
💡 Proposed solution
quote-type
to double or single accordingly;required
is set toonly-when-needed
;required
is set to true;allow-quoted-quotes
is false.The text was updated successfully, but these errors were encountered: