You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
12 lines
499 B
12 lines
499 B
"use strict";
|
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
exports.headerMinLength = void 0;
|
|
const ensure_1 = require("@commitlint/ensure");
|
|
const headerMinLength = (parsed, _when = undefined, value = 0) => {
|
|
return [
|
|
(0, ensure_1.minLength)(parsed.header, value),
|
|
`header must not be shorter than ${value} characters, current length is ${parsed.header.length}`,
|
|
];
|
|
};
|
|
exports.headerMinLength = headerMinLength;
|
|
//# sourceMappingURL=header-min-length.js.map
|