Before Stylelint 16, Stylelint emitted its messages on stdout. Hence Overcommit's Stylelint hook was built to read output from stdout.
Starting with Stylelint 16, Stylelint now emits its messages to stderr, which means the existing Overcommit implementation no longer works.
This PR updates Overcommit's Stylelint plugin to check for messages on both stdout and stderr. That way <16 and >=16 versions of Stylelint are supported.
Before Stylelint 16, Stylelint emitted its messages on stdout. Hence Overcommit's Stylelint hook was built to read output from stdout.
Starting with Stylelint 16, Stylelint now emits its messages to stderr, which means the existing Overcommit implementation no longer works.
This PR updates Overcommit's Stylelint plugin to check for messages on both stdout and stderr. That way <16 and >=16 versions of Stylelint are supported.
Fixes #823