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
894 stars 31 forks source link

Fix `space-dash: 0` can't disable bug #186. #190

Closed huacnlee closed 4 months ago

huacnlee commented 4 months ago

In the before versions - is always will added spaces by other rules. So I 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.