Skip to content

Render underscore and bold console tags in reports - #112

Merged
TomasVotruba merged 1 commit into
mainfrom
tv-underscore-bold-applied-checkers
Sep 30, 2026
Merged

TomasVotruba merged 1 commit into
mainfrom
tv-underscore-bold-applied-checkers

Conversation

@TomasVotruba

Copy link
Copy Markdown
Member

Follow-up to entropy #31 (tagged 0.4.18).

The ConsoleOutputFormatter emits <options=underscore>Applied checkers:</> and <options=bold>%d) %s</>, but EasyCodingStandardStyle::normalizeTags() stripped every <options=...> tag down to plain text, so the underline and bold never rendered - unlike the blink engine, which writes the ANSI codes directly.

Entropy OutputColorizer now understands both tags (SGR 4 / SGR 1, TTY-gated), so this bumps entropy/entropy to ^0.4.18 and drops the strip, letting the tags pass through to the colorizer.

Verified under a pseudo-tty: the Applied checkers header renders \033[4m...\033[0m and numbered file lines \033[1m...\033[0m.

@TomasVotruba
TomasVotruba enabled auto-merge (squash) September 30, 2026 12:34
Bump entropy/entropy to ^0.4.18, which adds <options=underscore> and
<options=bold> support to OutputColorizer, and stop stripping those tags
in EasyCodingStandardStyle so the Applied checkers header and numbered
file lines render underlined/bold, matching the blink engine.
@TomasVotruba
TomasVotruba force-pushed the tv-underscore-bold-applied-checkers branch from e4bb90b to 6d0e370 Compare September 30, 2026 12:35
@TomasVotruba
TomasVotruba merged commit 54e4814 into main Sep 30, 2026
11 checks passed
@TomasVotruba
TomasVotruba deleted the tv-underscore-bold-applied-checkers branch September 30, 2026 12:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant