yamlfix
yamlfix copied to clipboard
allow for adding of ending of file
Description
technically for a yaml file you are supposed to start it with '---' which you have an option for but you do not have an option for ending the file with '...'
Possible Solution
create an option (off by default because it is less popular) to add ... to any yaml file that it is missing on
Related Issue
N/A
Hi @djdanielsson thank you for taking the time to open a PR. I was not aware of the ... file ending, can you give a link to the official docs showing its usage?
I'm fine with your proposed solution, however it won't be between my priorities to develop. I'll review any PR you or other make though :)
https://yamllint.readthedocs.io/en/stable/rules.html#module-yamllint.rules.document_end
Thanks @djdanielsson it looks good