-
Notifications
You must be signed in to change notification settings - Fork 35
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
Is there a limit of files to scan, or a limit of errors to output (screen or xml) ? #63
Comments
I guess it's probably this: https://github.com/ahmednuaman/grunt-scss-lint/blob/master/tasks/lib/scss-lint.js#L153 How about a pull request? |
Sorry, i tried but i don't have enough knowledge. |
Sure, I'll have a go now. |
All fixed and pushed on v0.3.3 |
i'm getting this same issue, originally it was due to amount of errors however once i fixed up those errors it seems to NOT validate my files. FYI: I have a total of 30 sass files and the following is the grunt call:
I intentionally added in error on a few files in both directories, and none of them get picked by the linter, however if i use one path it works. gem: scss-lint v0.30.0 |
I had the same problem and I debugged a little bit.
So it seems that all the joined array of files to lint is to big. |
This shouldn't be closed as the bug is still there. |
Sad times, anyone want to have a go at fixing it? |
I can take a look at this sometime this week. I'd like to sooner, but.. work and all. I have a massive code base I can check against, so I should be able to reproduce pretty quickly. |
So, I see that we have a couple of options off hand:
I think any of these options are viable, we just need to pick one. Thoughts? |
Interesting points. I'm going to have a look at some node libraries to see if they can help with this problem. I'm looking to refactor this library and move to a more modular structure (eg how the XML is created). |
The more I think about it the more I like the 3rd option the best, personally. But I am also a huge fan of a rewrite / update. |
Just also ran into this issue and I like the third option as well. |
@davidjbradshaw You can always change the |
Thanks just set it to 300000000 to get around the issue, project I just On Mon, Mar 23, 2015 at 2:42 PM, Tom Bremer notifications@github.com
David J. Bradshaw )'( dave@bradshaw.net |
😮 |
As a programmer, this thread makes me sad 😭 |
So why not make a PR? ;) |
Yeah, this is pretty damn stupid honestly. |
Problem persists for me. Any solution in the works? I would if I could, but do not have the skills. |
Is there a limit of files to grunt-scss-lint scan and run the task, or number of erros to output?
If i execute the command outside grunt, with the SCSS-Lint, all .scss are linted. So, there's no limit of files to the tool.
But running my grunt-scss-lint task:
My grunt scss-lint task:
it breaks like this:
if i change the src file line, getting less files, by being more specific changing the '/**/' to '/core/', the task doesn't break.
If the limitation is the quantity of errors outputed in screen, maybe when the 'reporterOutput' option is in use, writing the errors in a xml file, this limit should be ignored.
using:
The text was updated successfully, but these errors were encountered: