gulp-csslint
Advanced tools
Comparing version 0.1.1 to 0.1.2
{ | ||
"name": "gulp-csslint", | ||
"version": "0.1.1", | ||
"description": "CSSLint plugin for Gulp", | ||
"version": "0.1.2", | ||
"description": "CSSLint plugin for gulp", | ||
"main": "index.js", | ||
@@ -6,0 +6,0 @@ "dependencies": { |
@@ -1,5 +0,4 @@ | ||
# gulp-csslint [![Build status][travis-image]][travis-url] [![NPM version][npm-image]][npm-url] | ||
# gulp-csslint [![NPM version][npm-image]][npm-url] [![Build status][travis-image]][travis-url] | ||
> CSSLint plugin for gulp 3 | ||
> CSSLint plugin for gulp | ||
## Usage | ||
@@ -25,6 +24,9 @@ | ||
## Options | ||
## API | ||
### Rule configuration | ||
### csslint(ruleConfiguration) | ||
#### ruleConfiguration | ||
Type: `Object` | ||
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. | ||
@@ -40,6 +42,9 @@ | ||
### CSSLint RC | ||
### csslint(csslintrc) | ||
You can also pass the path to your csslintrc file: | ||
#### csslintrc | ||
Type: `String` | ||
You can also pass the path to your csslintrc file instead of a rule configuration object. | ||
```javascript | ||
@@ -46,0 +51,0 @@ gulp.src('./client/css/*.css') |
@@ -20,3 +20,3 @@ var cssLintPlugin = require('../'); | ||
describe('cssLintPlugin()', function() { | ||
it('file should pass through', function(done) { | ||
it('should pass file through', function(done) { | ||
var a = 0; | ||
@@ -23,0 +23,0 @@ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
11511
92