fourkitchens / emulsify

DEPRECATED (see README for new version)
GNU General Public License v2.0
162 stars 70 forks source link

Stylelint is not honoring .stylelintignore #112

Open amazingrando opened 7 years ago

amazingrando commented 7 years ago

Problem: I have a repo with SCSS that isn't written to the Stylelint guidelines. I want to just ignore those files. (I don't have time to rewrite to make the files compliant.) I implemented .stylelintignore and this is not being honored.

Researching the issue turned up this, which states that Stylelint Gulp doesn't honor .stylelintignore. https://github.com/olegskl/gulp-stylelint/issues/85

ccjjmartin commented 7 years ago

The above PR does not fix this issue (I incorrectly referenced this PR when it should have been 122)

czinco commented 7 years ago

@amazingrando I've run into the same issue. Is there anyway to add some syntax to the .stylelintrc file to ignore the SCSS directories for now?

amazingrando commented 7 years ago

@czinco I'll look into this today or Monday.

LordRembo commented 7 years ago

I've changed my local Gulp config file to ignore certain folders when validating in order to skip css from libraries but that's not a perfect solution of course. There is also an option to completely disable linting using cssConfig.lint.enabled: false but somehow that's not working in my theme.

amazingrando commented 7 years ago

It looks like the fix for this is going to require a refactoring of the CSS tasks to split the linting into a separate task so we can control what gets linted separately.