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
What do you think about adding an option to format line comments with multiple spaces ?
I am thinking about an option similar to indent: 2 such that users can set a number of spaces before line comments
The text was updated successfully, but these errors were encountered:
@badouralix Thanks for the PR! The next step would be to make a PR here that updates braydonk/yaml and adds a setting to the basic formatter config. #103 is a good reference. If you have time to do it that would be great, or I can do it tomorrow before I cut the release.
Currently
yamlfmt
enforces using a single space before line comments :This behavior triggers a warning from
yamllint
:From https://github.com/adrienverge/yamllint/blob/6bfd6756e2414e0a16a256eaf6575e922d7e2ac9/yamllint/rules/comments.py#L86, the default number of spaces before line comments is 2
What do you think about adding an option to format line comments with multiple spaces ?
I am thinking about an option similar to
indent: 2
such that users can set a number of spaces before line commentsThe text was updated successfully, but these errors were encountered: