feat: add markdown output format for lint command (#1559)

* feat: Add markdown output format for lint command

* feat: Tweak output and add a test

* fix: send markdown output to stdout to match existing json/checkstyle behaviour

* fix: Update snapshots

* fix: Check error count to determine success

* docs: Add markdown format docs to lint command page

* chore: Add changeset

* Apply suggestions from code review

Co-authored-by: Heather Cloward <heathercloward@gmail.com>

* docs: Update from review feedback

* fix: Add missing image, run prettier

* fix: Update test to match corrected code behaviour

---------

Co-authored-by: Heather Cloward <heathercloward@gmail.com>
This commit is contained in:
Lorna Jane Mitchell
2024-05-20 09:54:26 +01:00
committed by GitHub
parent dbbbad889c
commit 546d482b03
7 changed files with 120 additions and 14 deletions

View File

@@ -0,0 +1,6 @@
---
"@redocly/openapi-core": minor
"@redocly/cli": minor
---
Added support for the linting command to output markdown format.