Skip to content

Commit 7a596b4

Browse files
committed
Make vale understand more types of version
Signed-off-by: Nic Cope <[email protected]>
1 parent 3b37063 commit 7a596b4

File tree

4 files changed

+6
-2
lines changed

4 files changed

+6
-2
lines changed

utils/vale/styles/Crossplane/Spelling.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,5 +17,8 @@ ignore:
1717
- Crossplane/provider-words.txt
1818
- Crossplane/allowed-jargon.txt
1919
filters:
20-
- v\d\.\d\d
20+
- v\d # e.g. v1, v2
21+
- v\d\.[x\d]\d? # e.g. v1.1, v2.10, v1.x
22+
- v\dalpha\d # e.g. v1alpha1, v2alpha1
23+
- v\dbeta\d # e.g. v1beta1, v2beta2
2124
- \/.*

utils/vale/styles/Crossplane/allowed-jargon.txt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,6 +99,5 @@ TLS
9999
tolerations
100100
UI
101101
VM
102-
v2
103102
webhooks.enabled
104103
YAML

utils/vale/styles/Crossplane/brands.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ Algolia
22
ArgoCD
33
Bootstrap
44
CC-BY
5+
CloudNativePG
56
CloudSQL
67
CNCF
78
Commonmark

utils/vale/styles/Crossplane/provider-words.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ provider-aws-iam
1616
provider-aws-s3
1717
provider-gcp
1818
provider-helm
19+
provider-kubernetes
1920
Pub/Sub
2021
PubSub
2122
S3

0 commit comments

Comments
 (0)