Skip to content

Instantly share code, notes, and snippets.

@WasathTheekshana
Last active October 22, 2023 08:47
Show Gist options
  • Save WasathTheekshana/4c11e8f2cf00cf6178c76bf8ffa89bb4 to your computer and use it in GitHub Desktop.
Save WasathTheekshana/4c11e8f2cf00cf6178c76bf8ffa89bb4 to your computer and use it in GitHub Desktop.
Commitlint config file for conventional commit messages
module.exports = {
extends: ["@commitlint/config-conventional"],
rules: {
"type-enum": [
2,
"always",
["feat!", "feat", "fix", "patch", "chore", "build", "debug", "refactor", "revert", "ci", "perf", "style", "test", "docs", "wip"]
],
"type-case": [0],
"subject-case": [0],
"footer-max-line-length": [0],
}
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment