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
+10-4Lines changed: 10 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -21,9 +21,12 @@ gulp.task('css', function() {
21
21
});
22
22
```
23
23
24
-
## Options
24
+
## API
25
25
26
-
### Rule configuration
26
+
### csslint(ruleConfiguration)
27
+
28
+
#### ruleConfiguration
29
+
Type: `Object`
27
30
28
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.
29
32
@@ -35,9 +38,12 @@ gulp.src('./client/css/*.css')
35
38
.pipe(csslint.reporter());
36
39
```
37
40
38
-
### CSSLint RC
41
+
### csslint(csslintrc)
42
+
43
+
#### csslintrc
44
+
Type: `String`
39
45
40
-
You can also pass the path to your csslintrc file:
46
+
You can also pass the path to your csslintrc file instead of a rule configuration object.
0 commit comments