[Bug] Stylelint issue now on every style
BangDroid opened this issue · 3 comments
Bug Report
Bug Description
Unknown rule no-extra-semicolons.
is now shown as an issue on every style, already existing and new ones, regardless of specific CSS written. Where previously it was not, I was editing in Stylus 2 days ago and these issues weren't apparent, it may be update related. Every character is now red underlined in the editor. Switching to CSSLint removes the issue but I would much rather stick with Stylelint for obvious reasons.
Screenshots
CSS Code
Any and all CSS used with Stylelint
System Information
- OS: Windows 10 22H2 19045.4412
- Browser: Chrome 126.0.6478.127
- Stylus Version: 1.5.47
Additional Context
I thought unknown rules are ignored, but evidently it's not the case.
Until a new release is published you can easily disable the error yourself:
- Click the cog wheel icon next to
CSS Linter: Styleint
- Press Space key at the beginning of any line inside the config dialog
- Click the
Save
button
Interestingly, my Stylelint conf did not have that entry. However the Reset button was active and upon clicking it and diff-ing the two versions, I see my old conf was missing the "comment-no-empty": false,
entry. Odd, as I don't recall messing with the conf previously. Resetting the conf returned to expected behavior.
Thank you for assisting 👍
Yeah, indeed, the config doesn't show unknown rules, so just adding a space anywhere and re-saving would be fine.