-
Notifications
You must be signed in to change notification settings - Fork 43
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
Setting option output-file overwrites file for each processed file #27
Comments
👍 |
Yes, this would be great to get fixed. Thanks |
same issue here, would be really nice to concatenate to the output-file. |
I've got the same issue. |
I wouldn't call this an enhancement, as already mentioned, the output right now is pretty useless from a CI server perspective. |
Has there been any progress with this? |
This should be fixed in v1.3.0 which I just released. If you have any issues please let me know. |
I am using gulp-sass-lint 1.3.2 and this is still an issue. I tried different formatters, same problem. |
@JockVanDallas can you open a new issue please and leave some details to what you tried and your config etc please 👍 |
@JockVanDallas @DanPurdy I'm also using 1.3.2, and this is still an issue. |
I use
This is my gulp task with configuration
|
If you follow the instructions about writing to a file using gulp instead of sass-lint https://github.com/sasstools/gulp-sass-lint#sasslintformatwritable do you get the same issues? Otherwise the issue would lie in Sass-lint itself I believe. I'll have a little look into this when i get some time though. For now I believe you could adjust your gulp config to 'make this work' |
@DanPurdy Thanks, that has done it for me. |
@DanPurdy When i use gulp for writing to a file as you described here https://github.com/sasstools/gulp-sass-lint#sasslintformatwritable the results are now added to the file instead of overwriting the previous ones, but it starts a new xml doc for every sass file being linted. This is the new output:
and i would expect it only once
All warnings and errors are logged into the report file but my Jenkins is failing to read this report.xml because of this, so it is still useless to use it in a CI/CD environment |
This is still a persisting error... |
Is development on this library dead? issue has been around for close to 3 years... any alternatives out there we can use? |
Sass lint has been kind of lingering in no-man's land for a while. I'd take another look at stylelint and see if it fits your needs until (or if) development here picks back up. Stylelint has gotten a lot better with Sass over the years and has a gulp plugin just as well. https://www.npmjs.com/package/gulp-stylelint |
I call it like this:
If there are errors in multiple files now the output-file gets written for each erroneous file. The following output can be observed for each file with errors:
The output for previous files is lost.
Expected: The output of each file is concatenated in the resulting file.
The text was updated successfully, but these errors were encountered: