feat!: show input from a new line (#4727)
* feat!: show input: from a new line
This will be less confusing to read, and also easier to test
and copy/paste.
* docs: address Copilot review (new format)
Previous commit adtoped a new output format by default, so
we need to reflect it in the docs like it's done here.
* test: new multi-line input error case
As instructed by GitHub Copilot, we add a new testcase.
* feat(format): add --legacy-output flag
To restore old single-line input output.
* chore: fix tests
* docs: warn about BREAKING CHANGES
* docs: align release version and remaining readme to v21 banner format
Address Copilot review feedback on the multi-line input output PR:
- docs/guides/local-setup.md: change v22.0.0 reference to v21.0.0
to match the actual release this lands in. The v22.0.0 link
would have 404'd.
- @commitlint/config-workspace-scopes/readme.md: update the
example output to the new banner format. The PR previously
updated the four sibling config-*-scopes readmes but missed
this one.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
* docs: show default silent-on-success in scopes-config readmes
The config-{rush,pnpm,nx,lerna,workspace}-scopes README examples
showed the input banner and "found 0 problems, 0 warnings" summary
for passing commits, but commitlint prints nothing on success unless
--verbose is set. Drop the success-case output so the examples reflect
default behaviour; keep the failure-case output unchanged.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
---------
Co-authored-by: Anatoli Babenia <anatoli@rainforce.org>
Co-authored-by: webwarrior-ws <reg@webwarrior.ws>
Co-authored-by: escapedcat <github@htmlcss.de>
Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com> A
Andres G. Aragoneses committed
40d7e36ffac0986ad0988fedd39a7ebcfde93d3c
Parent: b339111
Committed by GitHub <noreply@github.com>
on 5/8/2026, 8:26:23 AM