You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 3d15404
Browse filesBrowse the repository at this point in the historyBrowse files
fix(vale): make the Vale 3.24.0 upgrade land green, and refuse a rule's tests: key
Vale 3.24.0 warns W101 about every key it does not recognise inside a
matcher, including the `tskl) rule` breadcrumb. That printed one notice
per matcher on every check, and the warning ahead of a fatal error's
JSON broke the per-file narrowing from #300. Assembly now
comments the breadcrumb out of the config Vale reads, and runVale peels
Vale's warning lines off before parsing its error, one notice each.
The converter E100 dropped its `[lintAdoc]` checker tag, so the
contract asserts the format Vale now names instead. New 3.24.0 pins
cover the W101, warning-then-error order, C# tool directives, a
non-breaking space after a link, and files no rule runs on.
`validate` and `verify` now reject a Vale rule's `tests:` key: Taskless
verifies Vale rules by their .tests/pass and .tests/fail documents and
never runs `vale test`.
Copy file name to clipboardExpand all lines: .changeset/vale-3-24-0.md
+6Lines changed: 6 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -3,3 +3,9 @@
3
3
---
4
4
5
5
Update the bundled Vale to 3.24.0.
6
+
7
+
Vale 3.24.0 warns about any key it does not recognise inside a matcher, including the `tskl) rule` breadcrumb every Vale rule config carries. The CLI now comments the breadcrumb out of the config it assembles for Vale, so `check` no longer prints one notice per matcher, and a file Vale cannot parse is again set aside with its own finding instead of failing the whole Vale run. Vale's warnings now arrive as one notice each.
8
+
9
+
Two findings change for existing rules: C# `// ReSharper disable` and `// NOSONAR` comments are no longer linted, and a word after a link and a non-breaking space is now matched. `update` (topic v18) walks both.
10
+
11
+
`validate` and `verify` now reject a Vale rule's `tests:` key. Vale 3.24.0 runs those cases with `vale test`, which Taskless never calls; a Vale rule is verified by its `.tests/pass` and `.tests/fail` documents.
0 commit comments