conventional-pre-commit
conventional-pre-commit copied to clipboard
colours on non-ansi terminals
Hello, I have discovered by reading the code that the colours codes are used unconditionnally. In the case where the output is piped to a process, those colour code might make the output less easy to read.
It would be nice to either provide a command-line argument to disable the colours and/or use a validation method that ensures that stdout is an actual terminal which supports colours codes.
Hello @wsourdeau -- thank you for the suggestion, it's a great idea and I would welcome a PR! I think an argument to disable colors sounds like a good approach.