-
Notifications
You must be signed in to change notification settings - Fork 29
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
gulp-stylelint failing out of gulp process on error #128
Comments
I'm also having the same issue.
gulp 4.0.2 |
Getting the same error as well. Running stylelint with the CL runs just fine. Using the default gulp-stylelint implementation from the readme. Stylelint config just the default as well. gulp 4.0.2 |
Just noticed the same. What's up? |
By setting the failAfterError option to false of gulpStylelint got it working fine. Appears that Stylelint considers any violation as an error. Which then causes the task to fail. I don't agree with that as it prevents the linting of files. My setup generates a JSON file which is then rendered as a report in the browser. Even if Stylelint wants to say that a violation is an error, gulp-stylelint should disregard that. Please let me know what I'm missing here. Is there some config option in Stylelint to prevent a file with violations to be considered "errored?" |
Nothing to add other than to say I'm also running into the same issue. My setup is the same as @danparm . Setting |
When I have a stylelint error, it is failing out of gulp, which means I have to completely restart Gulp every time I make a mistake.
(At first I thought this was a gulp-notify issue, but it persists when gulp-notify is disabled.)
My gulp task:
And the terminal output:
This should show a notification on my machine, but it doesn't; it's just failing in the terminal.
I am running the latest of all relevant packages as of this writing:
The text was updated successfully, but these errors were encountered: