Skip to content

Contrast accessibility: Is it possible to customize CLI colors? #17695

Answered by nzakas
slifty asked this question in Q&A
Discussion options

You must be logged in to vote

Formatters are completely self-contained functions. ESLint has no idea what is being output, whether there are colors or not, so there isn't any way to implement an option that will "just work" for all ESLint output.

If you don't like the colors in the default formatter, you can always try a different one, or you can write your own.

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
1 reply
@nzakas
Comment options

Answer selected by nzakas
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants