Excuse me, Is there a way to disable this garbage? I’m sorry but I really could give a crap if there’s an extra space at the end of the line or a comment doesn’t have a line before it. WTF
How do I disable this at least for the time being while I’m developing my theme? I HATE this stylelint thing and I don’t know a lot about using packages and such so I’m not sure how to just remove it if that can even be done?
I’m importing UIKit CSS which I have no control over how they make their code and this is giving me all sorts of errors about Unexpected empty line before at-rule
Appreciate the pointer, as I was stuck on this for a couple of hours.
Long time Sage developer on v7 and v8, but new to Sage 9 and the yarn build process.
Diagnosing this was obscure at best. I know my scss syntax well, but the lack of stylelint errors left me stumped.
Was also not aware of yarn run lint:styles, which gave pretty clear direction.
I would suggest a touch of documentation here on styelint so that a Sage 9 newbie doesn’t get stuck. And obviously if there is a way to output stylint errors in the yarn build process, that would be great.
I also had that error, thanks for the yarn run lint:styles command, it help me see the problem. Zero values for css styles cause mine to break and the normal yarn build command couldn’t point out the errors, thanks again.
anyway to make rules only apply for ‘watching’ - ie locally or on staging? I can see how this strictness may be useful for production but when you’re fleshing out scss files it blocks the whole site with the black screen.