-
Notifications
You must be signed in to change notification settings - Fork 21
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
pass cli options #25
Comments
Sorry I never replied to this issue. The max-warnings option will be available in your config file from Sass-lint 1.10 which I would hope to see released in the next few weeks. |
@DanPurdy So sass lint 1.10 has been out for awhile now and it doesn't work still. I just looked at the code and how they implemented the max-warnings option (See https://github.com/sasstools/sass-lint/blob/master/bin/sass-lint.js#L19) It seems like we would need to make a change similar to the current PR #31? |
@DanPurdy Passing This plugin does not use @wingy3181 is absolutely right - there is now a need to handle warnings within this plugin in exactly the same way as Currently, inability to enforce warnings to fail is a huge blocker for using this package during automated builds. |
is there a way to set the cli options from the grunt config? my attempts have fallen short so far.
my specific use case is that i would like to ensure that build fails on warnings (since there doesn't seem to be a way to make all of them error level by default). i see that there is a max-warnings option that i would like to set to
0
, but i can't figure out how to set it.The text was updated successfully, but these errors were encountered: