Skip to content

Commit

Permalink
add vale rule to check chinese punctuation (#8941) (#8944)
Browse files Browse the repository at this point in the history
  • Loading branch information
ti-chi-bot authored Jun 14, 2022
1 parent a5f9d9e commit 7c14996
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions styles/PingCAP/ZhPunctuation.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
extends: existence
message: "Don't use Chinese punctuation (%s) in English text."
nonword: true
level: error
tokens:
#- '\w!(?:\s|$)'
- '!|?|,|。|:|;|“|”|’|‘'

0 comments on commit 7c14996

Please sign in to comment.