@commitlint/rules
Version:
Lint your commit messages
8 lines • 327 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