gulp-csslint icon indicating copy to clipboard operation
gulp-csslint copied to clipboard

Support non-JSON .csslintrc format

Open fortes opened this issue 10 years ago • 5 comments

The typical .csslintrc looks like this:

--errors=import
--warnings=important

This is what the cli csslint expects. Is it possible to support this?

fortes avatar Jun 23 '14 20:06 fortes

:+1: Very not enough, after switching from Grunt (grunt-contrib-csslint), where rules can be stored in .csslintrc .

mrmlnc avatar Aug 16 '14 12:08 mrmlnc

This was closed by #17, @SimenB correct me if I'm wrong here. Cheers!

lazd avatar Mar 31 '15 17:03 lazd

@SimenB on further inspection, it seems we may need to pass a custom parser to RcFinder to support this. Thoughts?

lazd avatar Mar 31 '15 18:03 lazd

I'm unsure if Rcloader supports non-JSON? And the warning vs errors part may be tough

SimenB avatar Mar 31 '15 18:03 SimenB

It doesn't accept non JSON .csslintrc. It warns that it's not a JSON. It would be nice to have that option because as noted before it the way that csslint accepts options. My use case it's to share csslintrc for gulp and my neomake (neovim) linter. Thanks.

jorrete avatar Nov 09 '15 14:11 jorrete