UNPKG

@commitlint/config-angular-type-enum

Version:

Shareable commitlint config enforcing the angular commit convention types

20 lines (18 loc) 207 B
const types = [ "build", "ci", "docs", "feat", "fix", "perf", "refactor", "revert", "style", "test", ]; export default { rules: { "type-enum": [2, "always", types], }, value: () => types, };