Repository navigation
Update Vale to 3.23.0 - #386
Merged
Merged
Conversation
Align the pinned Vale version with the one elastic/vale-rules now tests against in its rule regression suite. On a 592-file sample of the docs corpus, moving from 3.22.0 to 3.23.0 adds one alert and removes none. Co-Authored-By: Claude Fable 5.1 <[email protected]>
Elastic Docs Style Checker (Vale)Summary: 21 warnings, 19 suggestions found
|
| File | Line | Rule | Message |
|---|---|---|---|
| vale/test-fixtures/sample-violations.md | 2 | Elastic.MappedPages | Avoid editing mapped_pages unless you are preserving an existing URL mapping. Talk with your local technical writer before changing this key. |
| vale/test-fixtures/sample-violations.md | 6 | Elastic.Articles | Use 'an FAQ' instead of 'a FAQ'. The article depends on pronunciation, not spelling. |
| vale/test-fixtures/sample-violations.md | 6 | Elastic.Articles | Use 'an HTML' instead of 'a HTML'. The article depends on pronunciation, not spelling. |
| vale/test-fixtures/sample-violations.md | 6 | Elastic.Articles | Use 'an SQL' instead of 'a SQL'. The article depends on pronunciation, not spelling. |
| vale/test-fixtures/sample-violations.md | 6 | Elastic.Articles | Use 'an HTML' instead of 'a HTML'. The article depends on pronunciation, not spelling. |
| vale/test-fixtures/sample-violations.md | 7 | Elastic.BritishSpellings | Use American English spelling 'optimize' instead of British English 'optimise'. |
| vale/test-fixtures/sample-violations.md | 7 | Elastic.BritishSpellings | Use American English spelling 'customize' instead of British English 'customise'. |
| vale/test-fixtures/sample-violations.md | 7 | Elastic.BritishSpellings | Use American English spelling 'behavior' instead of British English 'behaviour'. |
| vale/test-fixtures/sample-violations.md | 11 | Elastic.DontUse | Don't use 'just'. Choose a more precise or reader-focused term. |
| vale/test-fixtures/sample-violations.md | 11 | Elastic.DontUse | Don't use 'please'. Choose a more precise or reader-focused term. |
| vale/test-fixtures/sample-violations.md | 11 | Elastic.DontUse | Don't use 'aka'. Choose a more precise or reader-focused term. |
| vale/test-fixtures/sample-violations.md | 20 | Elastic.Articles | Use 'an FAQ' instead of 'a FAQ'. The article depends on pronunciation, not spelling. |
| vale/test-fixtures/sample-violations.md | 20 | Elastic.Articles | Use 'an HTML' instead of 'a HTML'. The article depends on pronunciation, not spelling. |
| vale/test-fixtures/sample-violations.md | 20 | Elastic.Articles | Use 'an SQL' instead of 'a SQL'. The article depends on pronunciation, not spelling. |
| vale/test-fixtures/sample-violations.md | 24 | Elastic.BritishSpellings | Use American English spelling 'optimize' instead of British English 'optimise'. |
| vale/test-fixtures/sample-violations.md | 24 | Elastic.BritishSpellings | Use American English spelling 'customize' instead of British English 'customise'. |
| vale/test-fixtures/sample-violations.md | 24 | Elastic.BritishSpellings | Use American English spelling 'behavior' instead of British English 'behaviour'. |
| vale/test-fixtures/sample-violations.md | 40 | Elastic.DontUse | Don't use 'just'. Choose a more precise or reader-focused term. |
| vale/test-fixtures/sample-violations.md | 40 | Elastic.DontUse | Don't use 'please'. Choose a more precise or reader-focused term. |
| vale/test-fixtures/sample-violations.md | 40 | Elastic.DontUse | Don't use 'aka'. Choose a more precise or reader-focused term. |
| vale/test-fixtures/sample-violations.md | 48 | Elastic.Articles | Use 'an HTML' instead of 'a HTML'. The article depends on pronunciation, not spelling. |
💡 Suggestions (19): Optional style improvements. Apply when helpful.
| File | Line | Rule | Message |
|---|---|---|---|
| vale/test-fixtures/sample-violations.md | 8 | Elastic.WordChoice | Consider using 'efficiently' instead of 'Simply', unless the term is in the UI. |
| vale/test-fixtures/sample-violations.md | 8 | Elastic.WordChoice | Consider using 'allowlist' instead of 'whitelist', unless the term is in the UI. |
| vale/test-fixtures/sample-violations.md | 8 | Elastic.WordChoice | Consider using 'blocklist' instead of 'blacklist', unless the term is in the UI. |
| vale/test-fixtures/sample-violations.md | 9 | Elastic.OxfordComma | Use the Oxford comma in 'reading, writing and executing.'. |
| vale/test-fixtures/sample-violations.md | 10 | Elastic.Wordiness | Consider using 'to' instead of 'In order to'. |
| vale/test-fixtures/sample-violations.md | 10 | Elastic.Wordiness | Consider using 'because' instead of 'due to the fact that'. |
| vale/test-fixtures/sample-violations.md | 10 | Elastic.Wordiness | Consider using 'many' instead of 'a large number of'. |
| vale/test-fixtures/sample-violations.md | 12 | Elastic.Exclamation | Use exclamation points sparingly. Remove the exclamation point unless it appears in UI text. |
| vale/test-fixtures/sample-violations.md | 12 | Elastic.Exclamation | Use exclamation points sparingly. Remove the exclamation point unless it appears in UI text. |
| vale/test-fixtures/sample-violations.md | 28 | Elastic.WordChoice | Consider using 'efficiently' instead of 'Simply', unless the term is in the UI. |
| vale/test-fixtures/sample-violations.md | 28 | Elastic.WordChoice | Consider using 'allowlist' instead of 'whitelist', unless the term is in the UI. |
| vale/test-fixtures/sample-violations.md | 28 | Elastic.WordChoice | Consider using 'blocklist' instead of 'blacklist', unless the term is in the UI. |
| vale/test-fixtures/sample-violations.md | 28 | Elastic.WordChoice | Consider using 'efficient' instead of 'easy', unless the term is in the UI. |
| vale/test-fixtures/sample-violations.md | 32 | Elastic.OxfordComma | Use the Oxford comma in 'reading, writing and executing.'. |
| vale/test-fixtures/sample-violations.md | 36 | Elastic.Wordiness | Consider using 'to' instead of 'In order to'. |
| vale/test-fixtures/sample-violations.md | 36 | Elastic.Wordiness | Consider using 'because' instead of 'due to the fact that'. |
| vale/test-fixtures/sample-violations.md | 36 | Elastic.Wordiness | Consider using 'many' instead of 'a large number of'. |
| vale/test-fixtures/sample-violations.md | 44 | Elastic.Exclamation | Use exclamation points sparingly. Remove the exclamation point unless it appears in UI text. |
| vale/test-fixtures/sample-violations.md | 44 | Elastic.Exclamation | Use exclamation points sparingly. Remove the exclamation point unless it appears in UI text. |
The Vale linter checks documentation changes against the Elastic Docs style guide. To use Vale locally or report issues, refer to Elastic style guide for Vale.
akira28
approved these changes
Oct 1, 2026
There was a problem hiding this comment.
No blocking issues found.
What is this? | From workflow: PR Review
Give us feedback! React with 🚀 if perfect, 👍 if helpful, 👎 if not.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
While reviewing elastic/vale-rules#162, which stops Vale 3.20+ from linting fenced code blocks, I noticed our pin here sits one release behind the version that repo now runs its rule regression suite on.
Vale 3.23.0 is the current release. vale-rules#162 moves its CI from 3.17.1 to 3.23.0, so the Elastic rules are tested against 3.23.0 while docs CI runs them on 3.22.0. This bump isn't required for the code-block fix. That fix lives in the packaged
.vale.ini, works on both versions, and reaches docs CI once vale-rules cuts a release. This just keeps the two in step.To check the bump is uneventful, I linted a 592-file sample of the assembled docs corpus with the vale-rules#162 config on both versions. 3.23.0 reports one extra alert, a
Wordinesshit, and drops none.This updates the pin in the reusable docs-build workflow, the review-classifier workflow, and the README example. The review-classifier pin wasn't touched in #358 but carries the same version.
Validation:
actionlint .github/workflows/docs-build.yml .github/workflows/review-classifier.ymlpython3 -m unittest discover -s vale/lint -p "test_*.py"(26 tests pass)git diff --checkAfter merge, consumers pick this up when the next release is published and
create-major-tagmovesv1.🤖 Generated with Claude Code
Related to #404