Skip to content

Commit

Permalink
docs: DOC-1096 DOC-1095 (#2364) (#2368)
Browse files Browse the repository at this point in the history
  • Loading branch information
karl-cardenas-coding authored Mar 6, 2024
1 parent 4ebc29d commit f3f5795
Show file tree
Hide file tree
Showing 3 changed files with 33 additions and 1 deletion.
6 changes: 5 additions & 1 deletion vale.ini
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,8 @@ mdx = md
[*]
Google.Headings = NO
Google.Parens = NO
Google.Spacing = NO
Google.Spacing = NO
Google.We = NO
Google.Acronyms = NO
Alex.Condescending = NO
Google.OptionalPlurals = NO
16 changes: 16 additions & 0 deletions vale/styles/spectrocloud/condescending.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
---
extends: existence
message: Using '%s' may come across as condescending.
link: https://spectrocloud.atlassian.net/wiki/spaces/DE/pages/1765933057/Spectro+Cloud+Internal+Style+Guide#Simplicity-Assumption
level: error
ignorecase: true
tokens:
- obvious
- obviously
- simple
- simply
- easy
- easily
- of course
- clearly
- everyone knows
12 changes: 12 additions & 0 deletions vale/styles/spectrocloud/plural-parantheses.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
extends: existence
message: "Don't use plurals in parentheses such as in '%s'. Write the plural form of the word instead."
link: "https://spectrocloud.atlassian.net/wiki/spaces/DE/pages/1765933057/Spectro+Cloud+Internal+Style+Guide#Parentheses"
level: error
nonword: true
action:
name: edit
params:
- trim_right
- "(s)"
tokens:
- '\b\w+\(s\)'

0 comments on commit f3f5795

Please sign in to comment.