On Mon, Nov 6, 2017 at 11:59 PM, Niklas Laxström niklas.laxstrom@gmail.com wrote:
2017-11-07 7:58 GMT+02:00 Kunal Mehta legoktm@member.fsf.org:
But sometimes people aren't familiar with the guidelines, or more likely we make a typo somewhere. Here's where the commit-message-validator[2] comes in handy!
Does the tool check for typos? Typos in commit messages get merged all the time, including my own. I would like to avoid that :)
We could probably add checks for some common ones if someone compiled a list.
Running a full spell check would be difficult because of the number of false positives there would be based on a "normal" dictionary. Commit messages often contain technical jargon (maybe something to try and avoid) and snippets of code (e.g. class names like TemplatesOnThisPageFormatter) that would not be in any traditional dictionary that we could count on being on the local host.
Bryan