Skip to content

Commit d200058

Browse files
committed
docs: bring back vale rules
rework Capitalization rules turn it back on
1 parent 3f3c74d commit d200058

File tree

2 files changed

+7
-6
lines changed

2 files changed

+7
-6
lines changed
Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
1-
extends: existence
2-
message: "The word '%s' should always be capitalized."
1+
extends: substitution
2+
message: "Use '%s' instead of '%s'."
33
ignorecase: false
44
level: error
5-
tokens:
6-
- '\bactor\b'
7-
- '\bactors\b'
5+
scope: text & ~alt
6+
nonword: true
7+
swap:
8+
'\bactor\b': Actor
9+
'\bactors\b': Actors

.vale.ini

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,6 @@ Microsoft.URLFormat = NO
3131
Microsoft.GeneralURL = NO
3232
Microsoft.RangeFormat = NO
3333
Apify.Apify = NO
34-
Apify.Capitalization = NO
3534
Apify.Languages = NO
3635

3736
[{README.md,CONTRIBUTING.md}]

0 commit comments

Comments
 (0)