write-good: disable passive voice checks
This commit is contained in:
parent
9794f98fd6
commit
34254c50d5
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user