-
Notifications
You must be signed in to change notification settings - Fork 19
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
Follow markdownlint
rules
#28
Comments
@oscarotero this issue seems to encompass #27 and #22. We @OpenTermsArchive are considering implementing it. Would you welcome such a PR? 🙂 I see you already have two pending PRs and we are wondering what's your level of maintenance of this open-source library, to understand if we should contribute (preferred) or fork. |
Thanks for your contribution. Yes, this project is actively maintained. I can see the benefits of following the markdownlint rules, but I'd like have it as an optional feature. There are many people that prefer the original compact version. What do you think about something like this?: const string = changelog.toString({ markdownlint: true }); |
Hi @oscarotero and thanks for the quick response. It's a good idea to have an option to pass to the
This way, by default it enforces standards and consistency in changelogs files spread across repositories. |
The problem with this is it will change all existing markdowns and force to people already using this library to configure it to back to the expected compact version. |
Ok, I understand the problem. So, what about releasing now a major version with this improvement? |
I'd like to have it also in 2.x version, but as a configurable option. If you don't want to configure the library, another option is a static property, like |
I was just in favor of enforcing standards by default but It's OK to configure the library. |
Ok, thanks for understanding! For clarifying, are you going to modify the PR to include these options? |
I'm not really familiar with your codebase and I think it will be much easier and quicker for you to make the changes and to create the associated documentation, so I'd really appreciate it if you could handle the changes, if not I will. |
Okay, no problem. I'll work on that |
Thanks! 🙏 |
Done. I've released 2.2.0 with the |
Thanks for the release, can you also publish it on npm registry. It is not published yet: https://www.npmjs.com/package/keep-a-changelog |
Ops, sorry. I thought it was published automatically. |
Hi,
Thanks for this useful tool to generate changelog.
Could you modify the generated markdown to follow the rules defined by
markdownlint
to enforce consistency in Markdown files.Currently the two rules that are not respected are:
The text was updated successfully, but these errors were encountered: