relizy / shouldUseColors
Function: shouldUseColors()
shouldUseColors(
stream?):boolean
Defined in: src/core/commitlint/report.ts:68
Colors in a terminal and in the CI logs, which render them. Never for a program reading the output (e.g. an AI agent), nor with NO_COLOR.
Parameters
stream?
isTTY?
boolean
Returns
boolean