Sha256: b2c84fa8684e13bf0e12b113eb110db6211d0c00b813192815d111471e4fdc15

Contents?: true

Size: 383 Bytes

Versions: 2

Compression:

Stored size: 383 Bytes

Contents

import { maxLineLength } from '@commitlint/ensure';
export const bodyMaxLineLength = (parsed, _when = undefined, value = 0) => {
    const input = parsed.body;
    if (!input) {
        return [true];
    }
    return [
        maxLineLength(input, value),
        `body's lines must not be longer than ${value} characters`,
    ];
};
//# sourceMappingURL=body-max-line-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/body-max-line-length.js
pcp-server-ruby-sdk-0.1.0 node_modules/@commitlint/rules/lib/body-max-line-length.js