Skip to content

Commit

Permalink
ci: set vale ambiguous word rule to suggestion alert level (pingcap#8980
Browse files Browse the repository at this point in the history
)
  • Loading branch information
ran-huang authored Jun 17, 2022
1 parent 5774c9e commit 91c9f01
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .vale.ini
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
StylesPath = styles
Vocab = PingCAP
MinAlertLevel = error
MinAlertLevel = suggestion

IgnoredScopes = code, tt
SkippedScopes = pre, figure, blockquote, script, style
Expand Down
2 changes: 1 addition & 1 deletion styles/PingCAP/Ambiguous.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
extends: existence
message: Consider using a clearer word than '%s' because it may cause confusion.
level: error
level: suggestion
code: false
ignorecase: true
tokens:
Expand Down

0 comments on commit 91c9f01

Please sign in to comment.