Skip to content

Enforcing "One Sentence Per Line" #512

Answered by jdkato
5u623l20 asked this question in Q&A
Discussion options

You must be logged in to vote

Something like this should work:

extends: occurrence
message: "Only use one sentence per line."
level: error
scope: paragraph
max: 1
token: '[.!?](?: |$)'

You could also use script for more fine-grained control.

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@grahamperrin
Comment options

@jdkato
Comment options

Answer selected by jdkato
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants