Skip to content

Commit

Permalink
Merge branch 'test-vale' into ly-test-linter2
Browse files Browse the repository at this point in the history
  • Loading branch information
mirnawong1 authored Sep 16, 2024
2 parents 29da0e4 + 8f3b0be commit 3d6cad0
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .vale.ini
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
StylesPath = styles
MinAlertLevel = warning
MinAlertLevel = suggestion

Vocab = EN

Expand Down
2 changes: 1 addition & 1 deletion styles/custom/LatinAbbreviations.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
extends: substitution
message: "Avoid latin abbreviations: '%s'. Consider using '%s' instead."
level: warning
level: suggestion
ignorecase: false

swap:
Expand Down
2 changes: 1 addition & 1 deletion styles/custom/Repitition.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
extends: repetition
message: "'%s' is repeated!"
level: warning
level: suggestion
alpha: true
tokens:
- '[^\s]+'
3 changes: 1 addition & 2 deletions styles/custom/SentenceCaseHeaders.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
extends: capitalization
message: "'%s' should use sentence-style capitalization. Try '%s' instead."
level: warning
level: suggestion
scope: heading
match: $sentence
transform: sentence
indicators:
- ":"
exceptions:
Expand Down
2 changes: 1 addition & 1 deletion styles/custom/Typos.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
extends: spelling

message: "Oops there's a typo -- did you really mean '%s'? "
level: warning
level: suggestion

action:
name: suggest
Expand Down
2 changes: 1 addition & 1 deletion styles/custom/UIElements.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
extends: existence

message: "UI elements should be bold: '%s'."
level: suggestion
level: warning
tokens:
- '\bSave\b'
- '\bCancel\b'
Expand Down

0 comments on commit 3d6cad0

Please sign in to comment.