Comments (5)
Hi!
gulp-scss-lint doesn't have own error codes for warnings and errors because it doesn't throw exceptions with them.
from gulp-scss-lint.
Hi Juan,
First,
thank you for share your package,
related to this question,
i followed the guide, but my set is not working
</
var gulp = require('gulp'),
scsslint = require('gulp-scss-lint'),
gulp.task('scss-lint', function() {
gulp.src('./assets/scss/demo/_lint-demo.scss')
.pipe(scsslint({}));
});
gulp.task('default', ['scss-lint']);
/>
the scss-lint never provide any feedback in following two cases,
- none exist file
- when "scss-lint " provide error info
Feeback:
[12:21:14] Starting 'scss-lint'...
[12:21:14] Finished 'scss-lint' after 7.83 ms
[12:21:14] Starting 'default'...
[12:21:14] Finished 'default' after 51 μs
could you info me what i missed?
Many thanks
from gulp-scss-lint.
Thank for your feedback
- If the file doesn't exist the gulp.src doesn't send the file to gulp-scss-lint therefore does nothing. For me it is a normal behavior.
- if scss-lint provides errors then there is something wrong, Could you add the
verbose
options a run the output command by gulp-scss-lint?, thanks!
from gulp-scss-lint.
Thanks for the feedback, Juan,
about the issue i have right now,
it could be my asking this in a wrong way,
let me correct myself, :)
if i do not have the file, i run "scss-lint", i get
"No SCSS files matched by the patterns:"
and i have not successfully received any scss-lint validation info (like this one) with gulp-scss-lint.
that's my gulp setting issue i need your help : (
my understanding is "verbose" is for debugger gulp-scss-lint, not for showing SCSS-lint validation info,
it's that correct?
Many Thanks
from gulp-scss-lint.
gulp-scss-lint doesn't run anything because gulp.src doesn't send something that doesn't exist so in gulp-scss-lint I can't run scss-lint without files.
Yes, verbose
shows the scsslint command, you can copy it a run it outside gulp to see the original scss-lint output. With this option you can check what is wrong in that command.
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.