-
Can anyone please give an idea on enforcing One Sentence Per line? One sentence per line actually helps with git diffs hence we are planning to enforce this. |
Beta Was this translation helpful? Give feedback.
Answered by
jdkato
Nov 11, 2022
Replies: 1 comment 2 replies
-
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 |
Beta Was this translation helpful? Give feedback.
2 replies
Answer selected by
jdkato
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Something like this should work:
You could also use
script
for more fine-grained control.