A linter and formatter to help you to improve copywriting, correct spaces, words, and punctuations between CJK (Chinese, Japanese, Korean).
Remove unused dependencies, and improve to avoid str clone (#185)
Add --quiet
argument for cli. (#188)
Add shell (.sh
) script support. (#189)
Fix space-dash
rule can't disable bug. (#190)
In the before versions, -
is always will added spaces by other rules.
This version changed the space-dash
rule default to enable, this will keep the compatibility with before behavior.
Now, we can use space-dash: 0
to disable the space-dash
rule.
中文A/B中文
case not fix issue.300+单词,A+评分,C++中文
case not fix issue.linux-x64-musl
for autocorrect-node.rdjson
output format support for lint result, then we can use reviewdog. by @huacnlee in https://github.com/huacnlee/autocorrect/pull/168
Full Changelog: https://github.com/huacnlee/autocorrect/compare/v2.7.1...v2.8.0
autocorrect init
command for node.autocorrect update
command from autocorrect-node.This version just release
autocorrect-node
and@huacnlee/autocorrect
NPMs.
autocorrect-node
, now we can just use it without install autocorrect bin. See doc
AutoCorrect has been published in NPM with CLI command support. If you want to use it in Frontend or Node.js project, you can just install autocorrect-node
package for without install AutoCorrect bin.
cd your-project
yarn add autocorrect-node
Now you can run yarn autocorrect
command in your project. This command same as the autocorrect
command.
$ yarn autocorrect -h
You can run autocorrect --lint
to check:
$ yarn autocorrect --lint ./
Update a lot of fix for Markdown:
[foo]
as link text. #141[text\nfoo]()
, **Foo\nBar**
.[`Hello`](/hello)
, [**Hello**](/hello)
.Full Changelog: https://github.com/huacnlee/autocorrect/compare/v2.6.1...v2.6.2