Skip to content

Commit dd52c79

Browse files
committed
Fix issues with some rules that came up during Hakim's testing
1 parent 1f016d2 commit dd52c79

3 files changed

Lines changed: 4 additions & 2 deletions

File tree

ValeStyles/Couchbase/DirectionalLanguage.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ link: https://docs.couchbase.com/styleguide/directional-language.html
66
tokens:
77
- left
88
- right
9+
- (?<=\bmove\s+)\bup\b
910
- '(?<!(sign|set|back)\s)up(?!\sto)'
1011
- down
1112
- below

ValeStyles/Couchbase/LessFewer.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,5 @@ level: warning
33
message: Did you mean less or should this be fewer?
44
link: https://docs.couchbase.com/styleguide/less-fewer.html
55
tokens:
6-
- '[Ll]ess \b[a-zA-Z]+s\b'
6+
- '[Ll]ess \b[a-zA-Z]+s\b'
7+
- '[Ll]ess \bpeople\b'

ValeStyles/Couchbase/Link.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,4 @@ level: error
44
link: https://docs.couchbase.com/styleguide/ui-links.html
55

66
tokens:
7-
- '[Cc]lick the .+ link .+'
7+
- '(?i)\bclick the(?: \w+)* link\b'

0 commit comments

Comments
 (0)