check-strings ( str -- )


Vocabulary
help.lint.checks

Inputs
stran object


Outputs
None

Definition


: check-strings ( str -- )
[
"\n\t" intersects? [
"Paragraph text should not contain \\n or \\t"
simple-lint-error
] when
] [
" " subseq-of? [
"Paragraph text should not contain double spaces"
simple-lint-error
] when
] bi ;