Skip to content

Commit

Permalink
Update vale rules
Browse files Browse the repository at this point in the history
  • Loading branch information
dannymidnight committed Oct 12, 2023
1 parent 1ce20fe commit 4c373ba
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 12 deletions.
3 changes: 1 addition & 2 deletions vale/styles/Buildkite/eg.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
extends: existence
message: Consider replacing '%s' with 'for example'
level: warning
code: false
ignorecase: true
tokens:
- '\be\.g\b'
- '\be\.g.\b'
- '\be\.g.\b'
3 changes: 1 addition & 2 deletions vale/styles/Buildkite/etc.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
extends: existence
message: Consider replacing '%s' with 'and so on'
level: warning
code: false
ignorecase: true
tokens:
- '\betc\.\b'
- '\betc\.\b'
6 changes: 2 additions & 4 deletions vale/styles/Buildkite/existence-case-sensitive.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,6 @@

# For most single words, try using the Buildkite.spelling ignore list first.



extends: substitution
message: Consider using '%s' instead of '%s'
level: error
Expand All @@ -17,7 +15,7 @@ swap:
# Example: `(?i:Spongebob Meme): SpOnGeBoB MeMe`
# Or use a regular string to capture a specific, frequent case error
# Example: `Bell Hooks: bell hooks`
(?<!-)(?i:BitBucket): Bitbucket # (?<!-) ignores bitbucket with a preceding dash, as in `buildkite-bitbucket-aws-terraform`
(?<!-)(?i:BitBucket): Bitbucket # (?<!-) ignores bitbucket with a preceding dash, as in `buildkite-bitbucket-aws-terraform`
(?i:Amazon Web Services): Amazon Web Services
(?i:Artifactory): Artifactory
(?i:AWS Lambda): AWS Lambda
Expand All @@ -37,7 +35,7 @@ swap:
(?i:Google Cloud Storage): Google Cloud Storage
(?i:Google Cloud): Google Cloud
(?i:Google Compute Engine): Google Compute Engine
(?i:Google Container Engine): Google Kubernetes Engine # Google renamed Container to Kubernetes in 2017. See https://cloud.google.com/blog/products/gcp/introducing-certified-kubernetes-and-google-kubernetes-engine
(?i:Google Container Engine): Google Kubernetes Engine # Google renamed Container to Kubernetes in 2017. See https://cloud.google.com/blog/products/gcp/introducing-certified-kubernetes-and-google-kubernetes-engine
(?i:Google Kubernetes Engine): Google Kubernetes Engine
(?i:GraphQL): GraphQL
(?i:IronWorker): IronWorker
Expand Down
3 changes: 1 addition & 2 deletions vale/styles/Buildkite/ie.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
extends: existence
message: Consider replacing '%s' with 'in other words'
level: warning
code: false
ignorecase: true
tokens:
- '\bi\.e\b'
- '\bi\.e.\b'
- '\bi\.e.\b'
3 changes: 1 addition & 2 deletions vale/styles/Buildkite/via.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
extends: existence
message: Consider replacing '%s' with 'using'
level: warning
code: false
ignorecase: true
tokens:
- '\bvia\b'
- '\bvia\b'

0 comments on commit 4c373ba

Please sign in to comment.