write-good: disable passive voice checks

This commit is contained in:
MorganGeek 2020-07-19 12:36:57 +02:00
parent 9794f98fd6
commit 34254c50d5

View File

@ -281,13 +281,13 @@ function invalid_file_refs() {
# run write-good, proselint, and aspell in non interactive mode, to list all mispelled words found # run write-good, proselint, and aspell in non interactive mode, to list all mispelled words found
function checkenlist() { function checkenlist() {
aspell -d en list < "$1" | sort --unique --ignore-case aspell -d en list < "$1" | sort --unique --ignore-case
write-good "$1" write-good --no-passive "$1"
proselint "$1" proselint "$1"
alex -q --stdin < "$1" alex -q --stdin < "$1"
} }
function checkenremote() { function checkenremote() {
curl --location --insecure --silent "$1" > /tmp/file && checkenlist /tmp/file && write-good /tmp/file && proselint /tmp/file && \cat /tmp/file > alex -q --stdin curl --location --insecure --silent "$1" > /tmp/file && checkenlist /tmp/file && write-good --no-passive /tmp/file && proselint /tmp/file && \cat /tmp/file > alex -q --stdin
} }
# Time management # Time management