@commitlint/rules
Version:
Lint your commit messages
11 lines • 350 B
JavaScript
import { minLength } from '@commitlint/ensure';
export const footerMinLength = (parsed, _when = undefined, value = 0) => {
if (!parsed.footer) {
return [true];
}
return [
minLength(parsed.footer, value),
`footer must not be shorter than ${value} characters`,
];
};
//# sourceMappingURL=footer-min-length.js.map