You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+17-1Lines changed: 17 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -64,7 +64,7 @@ file.csslint.opt = {}; // The options you passed to CSSLint
64
64
65
65
## Custom Reporters
66
66
67
-
Custom reporter functions can be passed as `cssline.reporter(reporterFunc)`. The reporter function will be called for each linted file and passed the file object as described above.
67
+
Custom reporter functions can be passed as `csslint.reporter(reporterFunc)`. The reporter function will be called for each linted file and passed the file object as described above.
68
68
69
69
```javascript
70
70
var csslint =require('gulp-csslint');
@@ -85,6 +85,22 @@ gulp.task('lint', function() {
85
85
});
86
86
```
87
87
88
+
## Fail on errors
89
+
90
+
Pipe the file stream to `csslint.failReporter()` to fail on errors.
0 commit comments