Sha256: 058b28a57908ddb2a3a11ac6c9bc9e97401bb8ef8ba1b35359e0ced54f0297e6

Contents?: true

Size: 339 Bytes

Versions: 2

Compression:

Stored size: 339 Bytes

Contents

import { minLength } from '@commitlint/ensure';
export const headerMinLength = (parsed, _when = undefined, value = 0) => {
    return [
        minLength(parsed.header, value),
        `header must not be shorter than ${value} characters, current length is ${parsed.header?.length}`,
    ];
};
//# sourceMappingURL=header-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/header-min-length.js
pcp-server-ruby-sdk-0.1.0 node_modules/@commitlint/rules/lib/header-min-length.js