Comments (9)
What happens if you run this on the path where you have the gulpfile?
scss-lint TechSmithSass/*.scss --format XML
from gulp-scss-lint.
Shows me the proper XML.
from gulp-scss-lint.
I can not reproduce the error. Could you add console.log(error);
after line 53?
exec(command, function (error, report) {
console.log(error);
...
from gulp-scss-lint.
I apologize for the delay. [Error: stdout maxBuffer exceeded.]
from gulp-scss-lint.
I too have the same error which appears after I upgraded my scss-lint gem from 0.25.1 to 0.27.0. My config is essentially identical with the 'bundleExec': true parameter set. gulp-scss-lint is version 0.1
Reverting the gem to 25.1 fixes the error.
bundle exec scss-lint sass/*.scss --format XML
returns
<?xml version="1.0" encoding="utf-8"?><lint></lint>
from gulp-scss-lint.
ahmednuaman/grunt-scss-lint#63 - think this needs to be changed, that's what grunt-scss-lint had to do.
from gulp-scss-lint.
Thanks, I added the maxBuffer option
from gulp-scss-lint.
Setting maxBuffer to false made no difference for me, however, setting it to 524288 worked, which I came across in sun-zheng-an/gulp-shell#13.
Two questions. Firstly, why isn't false working? Secondly, why is there no config example for the maxBuffer option in the readme, yet there is for every other option? Whilst an obvious assumption is to just add maxBuffer to the scsslint config, i.e. scsslint({maxBuffer: false})
, it did make me question whether I had put it in the right place when false wasn't working.
For the sake of consistency in the documentation, and also to remove any possible need to make assumptions and cause needless confusion, I'd add it. Also probably an idea to explain what the maxBuffer integer actually is and a suggested range rather than just saying "number", which explains nothing and could result in a user questioning "number of what?" "0 or 1?" "Is this talking about memory allowed to execute? What's the default value which clearly isn't enough? Is it measured in bytes or mb?" and so on. A little elaboration on this could help others to avoid having to hunt for answers, like I did.
from gulp-scss-lint.
Sorry for my mistakes in the documentation
Thanks for your suggestions, I have made some changes.
I removed the false
option because doesn't work how I expected. (and I had a bug)
I removed the default node value in the maxBuffer option and set it to 307200.
I updated the documentation, now with the other two changes I think It's clear enough.
Thanks
from gulp-scss-lint.
Related Issues (20)
- newKey is not defined HOT 2
- error indicates scss-lint not installed, but it is HOT 1
- bundle exec version says Unexpected token T HOT 3
- failReporter and gulp.watch don't work together HOT 7
- Upgrade vinyl-fs dependency to ^2.4.0 HOT 1
- Support for JUnit as output format
- Display message when no error was found HOT 2
- Generic error when the gem is not installed HOT 5
- Fatal Undefined Error HOT 4
- command prompt The input line is too long. HOT 2
- Input file did not exist or was not readable HOT 1
- Command line usage error - XML Format HOT 1
- No such file or directory error in macOS High Sierra HOT 4
- Drop dependency on deprecated "gulp-util"
- gulp-util is deprecated HOT 1
- Unhandled rejection Error: Invalid glob argument thrown when src option used HOT 1
- [Error] 'scss-lint' is not recognized as an internal or external command HOT 3
- Depends on compromised package "event-stream" HOT 5
- scss-lint returns undefined when there aren't errors in files HOT 2
- "OS Command Injection" critical alert
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gulp-scss-lint.