UNPKG
@commitlint/ensure
Version:
latest (19.8.1)
19.8.1
19.8.0
19.5.0
19.0.3
19.0.0
18.6.1
18.6.0
18.4.4
18.4.3
18.4.0
18.1.0
18.0.0
17.8.1
17.6.7
17.4.4
17.4.0
17.3.0
17.0.0
16.2.1
16.0.0
15.0.0
14.1.0
14.0.0
13.2.0
13.1.0
13.0.0
12.1.4
12.1.3
12.1.2
12.1.1
12.0.1
12.0.0
11.0.0
10.0.0
9.1.2
9.1.1
9.1.0
9.0.1
9.0.0
8.3.6
8.3.4
8.3.0
8.2.0
8.1.0
8.0.0
7.6.0
7.5.2
7.5.0
7.3.1
7.3.0
7.2.0
7.1.2
7.1.1
7.1.0
7.0.0
6.1.3
6.1.2
6.1.1
6.1.0
6.0.4
6.0.3
6.0.2
6.0.0
5.2.8
Lint your commit messages
commitlint.js.org
conventional-changelog/commitlint
@commitlint/ensure
/
lib
/
max-line-length.js
4 lines
•
202 B
JavaScript
View Raw
1
2
3
4
import
ensure
from
'./max-length.js'
;
export
default
(value, max) =>
typeof
value ===
'string'
&& value.
split
(
/\r?\n/
).
every
(
(
line
) =>
ensure
(line, max));
//# sourceMappingURL=max-line-length.js.map