Bump vale-cli/vale to 3.19.0 - #49068
Open
code-infra-renovate[bot] wants to merge 1 commit into
Open
Conversation
Deploy previewBundle size
Check out the code infra dashboard for more information about this PR. |
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.
This PR contains the following updates:
3.18.0→3.19.0Release Notes
vale-cli/vale (vale-cli/vale)
v3.19.0Compare Source
MDX: JSX children are now linted
Vale now reads a JSX element's children as the Markdown they are — matching MDX's own grammar, where only tags, attributes, and
{...}expressions are JavaScript. The prose inside wrapping components like<Steps>,<Tabs>, or<Aside>is linted at its exact source position, as is the text of inline elements (<abbr>HTML</abbr>— "HTML" is read as part of its sentence). For documentation built on component-heavy frameworks like Astro Starlight, this can mean a quarter of your prose is now covered.Children carry the element's name as a class scope, the same way MyST and Quarto directives work — so a rule can target one component's content (
scope: text.class.Aside), and a component whose content shouldn't be linted can be excluded by name:IgnoredClasses = RawOutputThat's also the escape hatch if you preferred the old skip-everything behavior. Attribute values, expressions, self-closing elements, and elements opened and closed on a single standalone line are still treated as code.
Changelog
405a7dafix: strip a comment's delimiters, not its prose's (#1151)7766415feat(code): add Elixir comment and doc-attribute extraction (#1151)055db43feat: let a sequence token ask for repeated occurrences (#899)9ba5deafeat: lint a JSX element's children as the Markdown they are (#1155)8702043fix: lint a block title as written, without its generated label (#1152)d0e65f4docs: update contributing for native MDX and TypstConfiguration
📅 Schedule: (in timezone UTC)
* 0-4 * * 7)🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by self-hosted Renovate.