Sha256: 0b32a0a1617d2c9bb6c04e1db894d800994de0a452a271a979540941f8a35aaf

Contents?: true

Size: 350 Bytes

Versions: 2

Compression:

Stored size: 350 Bytes

Contents

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

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
pcp-server-ruby-sdk-0.0.6 node_modules/@commitlint/rules/lib/footer-min-length.js
pcp-server-ruby-sdk-0.1.0 node_modules/@commitlint/rules/lib/footer-min-length.js