huacnlee / autocorrect

A linter and formatter to help you to improve copywriting, correct spaces, words, and punctuations between CJK (Chinese, Japanese, Korean).
https://huacnlee.github.io/autocorrect
MIT License
929 stars 34 forks source link

[Feature Request] 增加 `--strict` 参数,使得在包含 warning 时 cli 非零退出 #218

Closed JustAnotherID closed 1 month ago

JustAnotherID commented 1 month ago

目前在 github action 中直接调用时,仅检查到 warning 时无法让 task 退出。 希望支持 --strict 参数让这种情况下也会报错退出。