stylelint-config icon indicating copy to clipboard operation
stylelint-config copied to clipboard

stylelint --fix is not working when primer rules is enabled

Open Grawl opened this issue 2 years ago • 2 comments
trafficstars

If I enable primer/no-unused-vars, I cannot use --fix feature of Stylelint.

If I just disable it, like "primer/no-unused-vars": false or remove this line, --fix is working again.

Grawl avatar Jan 25 '23 04:01 Grawl

Thanks for the report! I'll see if I can track down the cause

jonrohan avatar Jan 25 '23 17:01 jonrohan

TypeError: Cannot read properties of undefined (reading 'startsWith')

Grawl avatar Jan 27 '23 07:01 Grawl