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 4e753aa
Browse filesBrowse the repository at this point in the historyBrowse files
fix(cli): say "validates" where a sentence means the renamed check
The passes matched the command's name, not its inflections, so prose
saying a rule "verifies clean" kept meaning the old `verify`, which is
now `validate`, while the word `verify` now names the fixture-running
command. Two of those sentences are constraint rationales published in
`reference.json`; the rest are comments and test prose.
The spec delta also stops carrying three scenario titles that named the
old commands ("Verifying one rule catches a collision", "Test reports the
findings its fixtures produced", "Testing a runtime rule reaches no
network"). A MODIFIED block cannot rename a scenario, so their two
requirements move to REMOVED plus ADDED, as "Validate checks a rule's
required components" already had. Checked on a scratch archive: every
prior scenario survives, and only the five intended titles change.
Found in the second review of #492.
Copy file name to clipboardExpand all lines: packages/cli/assets/reference.json
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -87,7 +87,7 @@
87
87
"engine": "vale",
88
88
"enforcedBy": "validate",
89
89
"summary": "A rule's `.vale.ini` assigns nothing above its first matcher; `StylesPath` and `MinAlertLevel` belong to the run.",
90
-
"rationale": "Vale reads a rule assignment placed above the first `[matcher]` as a run-level key, warns `W101` on stderr, ignores it, and exits zero. The rule verifies clean while enabled nowhere. `StylesPath` and `MinAlertLevel` are properties of the assembled run config, which sets both; a per-rule copy is either redundant or silently fights the header."
90
+
"rationale": "Vale reads a rule assignment placed above the first `[matcher]` as a run-level key, warns `W101` on stderr, ignores it, and exits zero. The rule validates clean while enabled nowhere. `StylesPath` and `MinAlertLevel` are properties of the assembled run config, which sets both; a per-rule copy is either redundant or silently fights the header."
"rationale": "No style is loaded, so a rule is off until a matcher turns it on. A config whose every matcher says `NO`, or none says anything, leaves the rule present but off: it verifies, it is assembled, and it reports nothing."
132
+
"rationale": "No style is loaded, so a rule is off until a matcher turns it on. A config whose every matcher says `NO`, or none says anything, leaves the rule present but off: it validates, it is assembled, and it reports nothing."
"A rule's `.vale.ini` assigns nothing above its first matcher; `StylesPath` and `MinAlertLevel` belong to the run.",
150
150
rationale:
151
-
"Vale reads a rule assignment placed above the first `[matcher]` as a run-level key, warns `W101` on stderr, ignores it, and exits zero. The rule verifies clean while enabled nowhere. `StylesPath` and `MinAlertLevel` are properties of the assembled run config, which sets both; a per-rule copy is either redundant or silently fights the header.",
151
+
"Vale reads a rule assignment placed above the first `[matcher]` as a run-level key, warns `W101` on stderr, ignores it, and exits zero. The rule validates clean while enabled nowhere. `StylesPath` and `MinAlertLevel` are properties of the assembled run config, which sets both; a per-rule copy is either redundant or silently fights the header.",
"No style is loaded, so a rule is off until a matcher turns it on. A config whose every matcher says `NO`, or none says anything, leaves the rule present but off: it verifies, it is assembled, and it reports nothing.",
201
+
"No style is loaded, so a rule is off until a matcher turns it on. A config whose every matcher says `NO`, or none says anything, leaves the rule present but off: it validates, it is assembled, and it reports nothing.",
0 commit comments