ChapelR / tweego-setup

A Tweego project boilerplate.
The Unlicense
63 stars 22 forks source link

csslint doesn' support CSS variables #14

Closed zen14774 closed 2 years ago

zen14774 commented 4 years ago

First, thank you for creating this, it was extremely helpful.

Now my point: I added some CSS variables to my code (the var(--foo) kind) and the linting started failing. I tried to find a solution but it looks like csslint just doesn't support them and it's not being regularly updated anymore. In the end I solved my problem by replacing csslint with stylelint. It was pretty straightforward (just install, add a settings file and tweak a couple lines in the gulp file) so I thought I'd leave a comment to give some feedback and say thanks.

Have a nice day!

arohman84 commented 4 years ago

yep, me too i change the lint to stylelint + prettier, this combo is the best for my setup LOL

ChapelR commented 4 years ago

Thanks I'll look into it.

tmedwards commented 3 years ago

+1 for stylelint

ChapelR commented 2 years ago

I will probably just remove linting all together in v3, but if I don't I'll use stylelint.