We use commitlint for commit check. However, it looks like we don't have full config support for the yml config file.
I start looking into this due to https://github.com/dependabot/dependabot-core/issues/2445 and trying to have ignores, but that looks like we need to create a function to do that, but I don't believe yml support that.
Since the origin commitlint is created by javascript, we can use js or ts(TypeScript) for better support.
We use commitlint for commit check. However, it looks like we don't have full config support for the yml config file. I start looking into this due to https://github.com/dependabot/dependabot-core/issues/2445 and trying to have
ignores
, but that looks like we need to create a function to do that, but I don't believe yml support that.Since the origin commitlint is created by javascript, we can use js or ts(TypeScript) for better support.
Reference:
Outcome:
commitlintrc.yml
tocommitlintrc.ts
orcommitlintrc.js