You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If you use multiple glob patterns, write-good will always return 0 even if there's grammar mistakes.
This is what happens when using multiple globs, *.md and ./docs/*.md:
Example
$ write-good *.md ./docs/*.md --parse --no-passive --no-adverb --no-tooWordy --no-cliches
README.md:14:29:"various" is a weasel word
README.md:15:6:"and" is repeated
$ echo$?
0
Whereas this is what happens when run with only one glob, *.md:
$ write-good *.md --parse --no-passive --no-adverb --no-tooWordy --no-cliches
README.md:14:29:"various" is a weasel word
README.md:15:6:"and" is repeated
$ echo$?
255
The text was updated successfully, but these errors were encountered:
If you use multiple glob patterns, write-good will always return 0 even if there's grammar mistakes.
This is what happens when using multiple globs,
*.md
and./docs/*.md
:Example
Whereas this is what happens when run with only one glob,
*.md
:The text was updated successfully, but these errors were encountered: