UNPKG
@isentinel/eslint-plugin-comment-length
Version:
latest (2.2.0)
2.2.0
1.7.3
lasselupe33/eslint-plugin-comment-length
@isentinel/eslint-plugin-comment-length
/
src
/
rules
/
limit-multi-line-comments
/
util.merge-lines.ts
4 lines
(3 loc)
•
125 B
text/typescript
View Raw
1
2
3
4
export
function
mergeLines
(
a
:
string
,
b
:
string
, separator =
" "
):
string
{
return
`
${a.trim()}
${separator}
${b.trim()}
`
; }