Skip to content

Commit

Permalink
docs: DOC-1096 DOC-1095 (#2364) (#2367)
Browse files Browse the repository at this point in the history
(cherry picked from commit 9351001)

Co-authored-by: Karl Cardenas <[email protected]>
  • Loading branch information
1 parent 30ac74d commit 7fc4097
Show file tree
Hide file tree
Showing 4 changed files with 31 additions and 1 deletion.
4 changes: 3 additions & 1 deletion vale.ini
Original file line number Diff line number Diff line change
Expand Up @@ -21,4 +21,6 @@ Google.Headings = NO
Google.Parens = NO
Google.Spacing = NO
Google.We = NO
Google.Acronyms = 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
File renamed without changes.
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 7fc4097

Please sign in to comment.