Make eslint-compact matcher compatible with Stylelint
Stylelint has a compact formatter that is (nearly) compatible with ESLint one's.
It outputs lowercase severity strings though, so eslint-compact matcher's RegExp is not triggered.
This PR changes the matcher to also match lowercase severity strings.
Alternatively, the matcher could be duplicated as stylelint-compact and both RegExps could target exact lowercase/uppercase severities.
Example check run containing Stylelint output: https://github.com/OpenLightingProject/open-fixture-library/pull/1163/checks?check_run_id=365592295
I really want this update! 🙏
any interest in updating PR to target main instead of master?
@bryanmacfarlane Done :ok_hand:
Stylelint has a
compactformatter that is (nearly) compatible with ESLint one's.It outputs lowercase severity strings though, so
eslint-compactmatcher's RegExp is not triggered.This PR changes the matcher to also match lowercase severity strings.
Alternatively, the matcher could be duplicated as
stylelint-compactand both RegExps could target exact lowercase/uppercase severities.Example check run containing Stylelint output: https://github.com/OpenLightingProject/open-fixture-library/pull/1163/checks?check_run_id=365592295
Friendly ping 🏓