Adding --no-color flag to stylelint args#5050
Conversation
2baf27a to
40b669d
Compare
|
Its always great to see bugfix pull-requests! However, tools should not require such flags when operating on stdin/stdout. That really ought to be a channel without CSI commands. Where is the bug report towards stylelint? Could you please report and attempt getting the problem fixed at the source first, before allowing their issue to cascade into unrelated pieces of software? In case the stylelint team are unable or unwilling to fix their issue, I guess one could probably add this workaround to ale. Before doing so, one must consider that this fixer integration presumably once worked and that backwards compability is a goal here. If flags are added in later versions, the A quick look shows that |
hsanson
left a comment
There was a problem hiding this comment.
Thanks for the contribution.
* Adding --no-color flag to sass stylelint * Adding --no-color to all stylelint args * Adding --no-color expectation to stylelint tests * Properly handling SyntaxError for stylelint; adding corresponding test * Fixing CSS stylelint parameters and adding regression test
At least some editors don't work on linting because of colors in the
stylelintoutput. This should resolve that.