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
+4-4Lines changed: 4 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -15,7 +15,7 @@ Then, add it to your `gulpfile.js`:
15
15
var csslint =require('gulp-csslint');
16
16
17
17
gulp.task('css', function() {
18
-
gulp.src('./client/css/*.css')
18
+
gulp.src('client/css/*.css')
19
19
.pipe(csslint())
20
20
.pipe(csslint.reporter());
21
21
});
@@ -31,7 +31,7 @@ Type: `Object`
31
31
You can pass rule configuration as an object. See the [list of rules by ID on the CSSLint wiki](https://github.com/stubbornella/csslint/wiki/Rules-by-ID) for valid rule IDs.
32
32
33
33
```javascript
34
-
gulp.src('./client/css/*.css')
34
+
gulp.src('client/css/*.css')
35
35
.pipe(csslint({
36
36
'shorthand':false
37
37
}))
@@ -46,7 +46,7 @@ Type: `String`
46
46
You can also pass the path to your csslintrc file instead of a rule configuration object.
47
47
48
48
```javascript
49
-
gulp.src('./client/css/*.css')
49
+
gulp.src('client/css/*.css')
50
50
.pipe(csslint('csslintrc.json'))
51
51
.pipe(csslint.reporter());
52
52
```
@@ -79,7 +79,7 @@ var customReporter = function(file) {
0 commit comments