Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
27 commits
Select commit Hold shift + click to select a range
824a42a
Add known issue note to ListIntroductions
dbreseman Nov 20, 2026
a9f8b6f
Introduce terminology rules
dbreseman Nov 20, 2026
29da228
Add third-party names
dbreseman Nov 20, 2026
481b646
Add onward
dbreseman Nov 20, 2026
c2330f7
Enable Vale.Spelling + custom dictionary for exceptions
dbreseman Nov 20, 2026
cbe58ae
Exempt plural acronyms
dbreseman Nov 20, 2026
9ae272f
Add to dictionary
dbreseman Nov 20, 2026
069b9a7
Move dictionary
dbreseman Nov 20, 2026
d227258
Adjust path overrides
dbreseman Nov 20, 2026
a078465
Troubleshoot Maia Make
dbreseman Nov 20, 2026
cd2ef93
Exempt possessives and a few more words
dbreseman Nov 20, 2026
96f01bf
Add repetition rule
dbreseman Nov 20, 2026
f49423f
Add paragraph breaks suggestion
dbreseman Nov 23, 2026
3767617
Exclude bold and italics from the spelling check
dbreseman Nov 23, 2026
07b1a5a
Update Setup.md
dbreseman Nov 23, 2026
1247091
Check for http vs https
dbreseman Nov 23, 2026
b0aeaa2
Add more acronyms exceptions
dbreseman Nov 23, 2026
6e8fe56
Add more words and prevent duplicates
dbreseman Nov 23, 2026
520aa30
Implement quick fix for repetition
dbreseman Nov 23, 2026
3613aaf
Promote emphasis to error
dbreseman Nov 23, 2026
da5c4c9
Add sample file for testing
dbreseman Nov 24, 2026
ed8ed47
Assorted tweaks
dbreseman Nov 24, 2026
6e940b1
Adjust datetime treatment
dbreseman Nov 24, 2026
5cecae3
Demote ConditionalAdverbs to suggestion because it's too noisy
dbreseman Nov 24, 2026
17ff84b
Hyphenate top-right corner, etc
dbreseman Nov 24, 2026
3549731
Demote ListIntroductions.yml to warning to reduce noise
dbreseman Nov 24, 2026
3a9b803
Merge branch 'development' into db-vale-tuning
dbreseman Nov 24, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/vale.yml
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ jobs:
{
echo "## Vale errors and warnings in changed files"
echo
echo "Note: The Vale Comments workflow posts review comments only for errors on lines this PR changed. This table lists all errors and warnings in the changed files."
echo "Note: The Vale Comments workflow posts review comments only for errors, only on lines this PR changed. This table lists all errors and warnings throughout the changed files."
echo
echo "| File | Line | Severity | Rule | Message |"
echo "| --- | --- | --- | --- | --- |"
Expand Down
30 changes: 23 additions & 7 deletions .vale.ini
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,18 @@ BlockIgnores = (?s) *```(?:[\w\{\}]+)?$(.+?)^ *```
# Rules can use explicit scope lists (paragraph, heading, list, table, blockquote) to exclude this content
TokenIgnores = (\A---\s*\n(.|\n)+?\n---\s*\n), (\{#[^\}]+\}), (\{\{[^\}]+\}\})

# Markdown files use both Microsoft and custom Mendix styles
BasedOnStyles = Microsoft, Mendix
# Markdown files use Microsoft and custom Mendix styles, plus Vale's built-in rules
BasedOnStyles = Microsoft, Mendix, Vale

# Spelling
# Replacement: Mendix.Spelling is a warning (the list of accepted words is still growing) and ignores plural acronyms such as APIs
# Accepted words are filters in Mendix.Spelling, not a Vale vocabulary, because vocabulary words also hide other rules' alerts
Vale.Spelling = NO

# Vale's other built-in rules overlap with Microsoft and Mendix rules
Vale.Terms = NO
Vale.Avoid = NO
Vale.Repetition = NO

# ============================================================================
# Microsoft Style Guide Rule Overrides
Expand Down Expand Up @@ -47,7 +57,7 @@ Microsoft.Contractions = NO
# Dashes
# Microsoft removes all spaces around em/en dashes; Mendix has context-specific rules
# Mendix style guide: Em dashes (—) have no spaces; en dashes (–) have spaces except in number ranges
# Replacement: Mendix.Dashes removes spaces around em dashes
# Replacement: Mendix.EmDashes removes spaces around em dashes
# Mendix.ListIntroductions enforces en dashes (not em dashes or spaced hyphens) for list item introductions
Microsoft.Dashes = NO

Expand Down Expand Up @@ -89,8 +99,12 @@ Microsoft.Passive = NO
Microsoft.Plurals = warning

# Quotes
# Reduce severity to warning because punctuation is meant to be part of the quoted material in some technical writing use cases
Microsoft.Quotes = warning
# Reduce severity to suggestion because punctuation is meant to be part of the quoted material in some technical writing use cases
Microsoft.Quotes = suggestion

# Semicolon
# Mendix does not discourage semicolons; Microsoft does
Microsoft.Semicolon = NO

# Sentence Length
# Raise the limit from 30 to 40 words because the default flags too many sentences
Expand All @@ -102,10 +116,12 @@ Microsoft.Spacing = NO

# Terms
# Too far off from Mendix terminology guidance
# Replacement: Mendix.Terminology enforces Mendix-preferred terms
Microsoft.Terms = NO

# UIVerbs
# Microsoft prefers "select" over "click" or "swipe"; Mendix does not
# Replacement: Mendix.Terminology prohibits "click on" in favor of "click"
Microsoft.UIVerbs = NO

# Uppercase
Expand All @@ -127,11 +143,11 @@ Microsoft.Wordiness = NO

# First-Person Plural
# Release notes allow first-person plural "we"
[content/en/docs/releasenotes/*.md]
[**/content/en/docs/releasenotes/**/*.md]
Microsoft.We = NO

# Product Names
# Disable deprecated product name checks in historical documentation
# These versions used older terminology that may have been accurate at the time
[content/en/docs/{refguide8,refguide9,refguide10,howto8,howto9,howto10}/**/*.md]
[**/content/en/docs/{refguide8,refguide9,refguide10,howto8,howto9,howto10}/**/*.md]
Mendix.ProductNames = NO
12 changes: 5 additions & 7 deletions .vale/SETUP.md
Original file line number Diff line number Diff line change
@@ -1,15 +1,13 @@
# Vale Setup Guide

<!-- vale off -->

Vale is configured but needs to be installed locally before you can use it in VS Code. This guide walks you through setup.

## Why Install Locally?

* **Immediate feedback** - See violations as you write, not after pushing.
* **Faster iteration** - Fix issues before creating a PR.
* **More feedback** - See suggestions and warnings locally on the entire file; the GitHub Action is configured to show only errors on changed lines.
* **LLM integration** - If you're using Claude to edit locally, it picks up on issues flagged by Vale.
* **Immediate feedback** – See violations as you write, not after pushing.
* **Faster iteration** – Fix issues before creating a PR.
* **More feedback** – See suggestions and warnings locally on the entire file; the GitHub Action is configured to show only errors and warnings (not suggestions) on changed lines (not the entire file).
* **LLM integration** – If you're using Claude to edit locally, it picks up on issues flagged by Vale, which results in more consistent enforcement. You can also use Claude to efficiently evaluate and fix the flagged Vale issues.

**Note:** Even without local installation, your PRs will be checked automatically by a GitHub Action: [.github/workflows/vale.yml](../.github/workflows/vale.yml).

Expand Down Expand Up @@ -71,7 +69,7 @@ After installing Vale:
- Restart VS Code.
- Open any `.md` file in `content/en/docs/`.
- Violations show as squiggly underlines in the file and appear in the **Problems** tab in the bottom pane.
- Many Vale rules support automatic fixes—hover over an underlined issue and click **Quick Fix** or click the lightbulb icon next to flagged text in the **Problems** tab.
- Many Vale rules support automatic fixes—hover over an underlined issue and click **Quick Fix** or click the light bulb icon next to flagged text in the **Problems** tab.
- Save changes to rerun the linter.
- If desired, you can adjust the extension's settings in VS Code to show a different minimum alert level. For example, if you set `minAlertLevel` to `warning`, it will report only warnings and errors, not suggestions.

Expand Down
32 changes: 28 additions & 4 deletions .vale/styles/Mendix/Acronyms.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
# Extends Microsoft.Acronyms (requires Vale 3.20 or later).
# Ensures that the existence of 'first' implies the existence of 'second'.
# Link text is excluded from the scope (& ~link), so acronyms that appear only as link text aren't flagged.
# Known issue: Definitions inside link text aren't recognized, so later plain uses of the acronym are flagged
# Link text is excluded from the scope (& ~link), so acronyms that appear only as link text aren't flagged (but also aren't counted as definitions).
extends: Microsoft.Acronyms
message: "Define '%s' on first use."
link: https://docs.mendix.com/community-tools/contribute-to-mendix-docs/style-guide/grammar-formatting/#acronyms-and-initialisms
Expand All @@ -13,20 +12,45 @@ scope:
- blockquote & ~link
# Modified from Microsoft.Acronyms to accept sentence-case definitions (e.g., "personal access token (PAT)" not just "Personal Access Token (PAT)")
# and plural definitions (e.g., "personal access tokens (PATs)")
second: '(?:\b[A-Za-z][a-z]+ )+\(([A-Z]{3,5})s?\)'
second: '\(([A-Z]{3,5})s?\)'
# ... with the exception of these (and the Microsoft.Acronyms exceptions):
exceptions+:
- ATS
- AWS
- BTP
- DNS
- GCP
- GIF
- HANA
- IAM
- JDBC
- JPEG
- JPG
- JVM
- MCP
- MDA
- MIME
- MPR
- NOT
- NGINX
- OIDC
- OQL
- PNG
- REST
- SAML
- SAP
- SMS
- SMTP
- SOAP
- SSO
- TLS
- UTC
- UUID

# Flagged by Mendix.Uppercase, so don't flag them here
- MUST
- NEVER
- NOT
- ONLY

# Part of the NOT FOUND status text, which Mendix.Uppercase allows
- FOUND
1 change: 1 addition & 0 deletions .vale/styles/Mendix/AmericanSpelling.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,4 +43,5 @@ swap:
'\bbackwards\b': 'backward'
'\bupwards\b': 'upward'
'\bdownwards\b': 'downward'
'\bonwards\b': 'onward'
'\bprogramme([ds])?\b': 'program$1'
58 changes: 37 additions & 21 deletions .vale/styles/Mendix/Capitalization.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
# Mendix custom rule: Capitalization errors
# Reference: content/en/docs/community-tools/contribute-to-mendix-docs/style-guide/grammar-formatting.md (Capitalization of Mendix Terminology)
# Reference: content/en/docs/community-tools/contribute-to-mendix-docs/style-guide/product-naming-guide.md
# Known issue: Flags code that isn't marked as code, such as unfenced code inside tabpane shortcodes, function names in link text, and sample column names in table cells. Wrap these in backticks or ignore them.
# Keep in sync with Spelling.yml: if you add a term that isn't in the dictionary, also add it to "Terms covered by other rules" there. If you remove a term, remove it there too.
extends: substitution
message: "Use '%s' (capitalized)"
link: https://docs.mendix.com/community-tools/contribute-to-mendix-docs/style-guide/product-naming-guide/
Expand All @@ -15,33 +17,47 @@ scope:
action:
name: replace
swap:
agents kit: Agents Kit
boolean: Boolean
'(^|[^.])git': '$1Git' # Skips .git folder
idp: IdP
'(^|[^/])ios': '$1iOS' # Skips ios in paths
'(^|[^./-])java(?!\.\w)': '$1Java' # Skips .java files, java-in-names, java in paths, and java.lang-style names
macos: macOS
maia: Maia
'maia make': 'Maia Make'
markdown: Markdown
marketplace: Marketplace
'(^|[^./>@-])mendix(?!/)': '$1Mendix' # Skips com.mendix names, domains, link text after >, @mendix emails, hyphenated repo names, and paths or repos like mendix/docs
'n/a': 'N/A'
postgres: Postgres
postgresql: PostgreSQL
scrum: Scrum
'(^|[^@])siemens': '$1Siemens' # Skips siemens in email addresses
sql: SQL
'agile scrum': 'Agile Scrum'
# Mendix terms
'agents kit': 'Agents Kit'
'atlas ui': 'Atlas UI'
'build server': 'Build Server'
'business engineer': 'Business Engineer'
'control center': 'Control Center'
'maia make': 'Maia Make'
'(?<!\.)maia(?!-| make)': 'Maia' # Skips .maia files, hyphenated names like maia-appgen, and maia make (handled above)
marketplace: Marketplace
'(?<![./>@-]|com\.\s)mendix(?![/-]|\.\w)': 'Mendix' # Skips com.mendix names (including com.<wbr>mendix), domains, link text after >, @mendix emails, hyphenated repo names such as mendix-inside-teamcenter, and paths or repos like mendix/docs
'model server': 'Model Server'
'product owner': 'Product Owner'
'scrum master': 'Scrum Master'
'(?<!@)siemens': 'Siemens' # Skips siemens in email addresses
'studio pro': 'Studio Pro'
'team server': 'Team Server'
'technical contact': 'Technical Contact'
'workflow engine': 'Workflow Engine'

# Third-party and general terms
'agile scrum': 'Agile Scrum'
boolean: Boolean
cartesian: Cartesian
'(?<![.-])git': 'Git' # Skips .git folder and hyphenated names
hashicorp: HashiCorp
'(?<!-)id': 'ID' # Skips hyphenated names
idp: IdP
'(?<!/)ios': 'iOS' # Skips ios in paths
'(?<![./-])java(?!\.\w|script)': 'Java' # Skips .java files, java-in-names, java in paths, java.lang-style names, and javascript
'(?<![/-])javascript(?!-)': 'JavaScript' # Skips paths and hyphenated names
JQuery: jQuery
macos: macOS
markdown: Markdown
'n/a': 'N/A'
oauth: OAuth
'openshift(?!-)': 'OpenShift' # Skips hyphenated names
'(?<!")postgres(?!")': 'Postgres' # Skips quoted usernames such as "postgres"
postgresql: PostgreSQL
'powershell(?!\.\w)': 'PowerShell' # Skips powershell.exe
'product owner': 'Product Owner'
scrum: Scrum
'scrum master': 'Scrum Master'
sql: SQL
'(?<!-)(?-i:teamcenter)': 'Teamcenter' # Skips all-caps UI labels and hyphenated names
typescript: TypeScript
'(?<![.-])yaml': 'YAML' # Skips .yaml extensions and hyphenated names
24 changes: 0 additions & 24 deletions .vale/styles/Mendix/ClickOn.yml

This file was deleted.

4 changes: 4 additions & 0 deletions .vale/styles/Mendix/CompoundWords.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
# Mendix custom rule: Compound word formatting
# Reference: content/en/docs/community-tools/contribute-to-mendix-docs/style-guide/terminology.md
# Each entry matches both capitalizations and carries them over: ([Cc]) captures the first letter, and $1 puts it back.
# Keep in sync with Spelling.yml: if you add a term that isn't in the dictionary, also add it to "Terms covered by other rules" there. If you remove a term, remove it there too.
extends: substitution
message: "Use '%s' instead of '%s'"
level: error
Expand All @@ -14,6 +15,7 @@ scope:
action:
name: replace
swap:
'([Aa])ir ?gapped': '$1ir-gapped'
'([Cc])heck box': '$1heckbox'
'([Dd])ata[ -]set': '$1ataset'
'([Dd])ouble click (any|in|it|on|the|to)\b': '$1ouble-click $2' # Matches the next word to exclude UI label hits
Expand All @@ -31,3 +33,5 @@ swap:
'([Ss])ingle sign on': '$1ingle sign-on'
'([Ss])ub ?microflow(s?)': '$1ub-microflow$2'
'([Tt])ool tip': '$1ooltip'
'([Ww])ebservice(s?)': '$1eb service$2'

4 changes: 2 additions & 2 deletions .vale/styles/Mendix/ConditionalAdverbs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@
# Reference: content/en/docs/community-tools/contribute-to-mendix-docs/style-guide/grammar-formatting.md (Conditional Adverbs)
# "These words add uncertainty and cloud the meaning of sentences."
extends: existence
message: "Avoid '%s'. Instead, directly state what happens, what to do, or what Mendix recommends."
message: "Avoid '%s' if possible. Instead, directly state what happens, what to do, or what Mendix recommends."
link: https://docs.mendix.com/community-tools/contribute-to-mendix-docs/style-guide/grammar-formatting/#conditional-adverbs
level: warning
level: suggestion
ignorecase: true
tokens:
- '\bwould\b'
Expand Down
24 changes: 0 additions & 24 deletions .vale/styles/Mendix/Directions.yml

This file was deleted.

File renamed without changes.
2 changes: 1 addition & 1 deletion .vale/styles/Mendix/Emphasis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
extends: existence
message: "Don't use bold or italics for emphasis. To add emphasis, rephrase or use an alert instead."
link: https://docs.mendix.com/community-tools/contribute-to-mendix-docs/style-guide/grammar-formatting/#emphasis
level: warning
level: error
scope: raw
nonword: true
tokens:
Expand Down
2 changes: 2 additions & 0 deletions .vale/styles/Mendix/HeadingTitleCase.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@ exceptions:
- iOS
- IdP
# Don't force lowercase for these words
- Across
- After
- Against
- Between
- During
Expand Down
8 changes: 8 additions & 0 deletions .vale/styles/Mendix/HttpLinks.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# Mendix custom rule: Use https instead of http in links
# Exempts localhost, www.example.com, and S3 website endpoints
extends: existence
message: "Use https instead of http in links, unless the site doesn't support it."
level: error
scope: raw
raw:
- '\]\(http://(?!localhost|www\.example\.com|[^)/]*\.s3-website)'
3 changes: 1 addition & 2 deletions .vale/styles/Mendix/IconShortcodes.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ swap:
'the three dots icon': '**More Options** ({{% icon name="three-dots-menu-horizontal" %}})'
'three dot icon': '**More Options** ({{% icon name="three-dots-menu-horizontal" %}})'
'the three-dot icon': '**More Options** ({{% icon name="three-dots-menu-horizontal" %}})'
'the three-dot menu': '**More Options** ({{% icon name="three-dots-menu-horizontal" %}})'
'the edit icon': '**Edit** ({{% icon name="pencil" %}})'
'the pencil icon': '**Edit** ({{% icon name="pencil" %}})'
'the trash can icon': '**Delete** ({{% icon name="trash-can" %}})'
Expand All @@ -27,5 +28,3 @@ swap:
'the alert icon': '**Alert** ({{% icon name="alert-circle" %}})'
'the error icon': '**Error** ({{% icon name="remove-circle-filled" %}})'
'the paperclip icon': '**Attach** ({{% icon name="paperclip" %}})'
'the checkmark icon': '**Save** ({{% icon name="checkmark-circle" %}})'
'the check mark icon': '**Save** ({{% icon name="checkmark-circle" %}})'
Loading