gulp-csslint
Advanced tools
Comparing version 0.1.2 to 0.1.3
10
index.js
@@ -49,3 +49,3 @@ /*jshint node:true */ | ||
try { | ||
externalOptions = JSON.parse(externalOptions); | ||
options = JSON.parse(externalOptions); | ||
} | ||
@@ -55,10 +55,2 @@ catch(err) { | ||
} | ||
// Override external options with options specified in gulpfile | ||
for (var option in options) { | ||
externalOptions[option] = options[option]; | ||
} | ||
// Use combined options | ||
options = externalOptions; | ||
} | ||
@@ -65,0 +57,0 @@ |
{ | ||
"name": "gulp-csslint", | ||
"version": "0.1.2", | ||
"version": "0.1.3", | ||
"description": "CSSLint plugin for gulp", | ||
@@ -30,3 +30,6 @@ "main": "index.js", | ||
"url": "https://github.com/lazd/gulp-csslint/issues" | ||
}, | ||
"engines": { | ||
"node": ">=0.6" | ||
} | ||
} |
@@ -18,3 +18,3 @@ # gulp-csslint [![NPM version][npm-image]][npm-url] [![Build status][travis-image]][travis-url] | ||
gulp.task('css', function() { | ||
gulp.src('./client/css/*.css') | ||
gulp.src('client/css/*.css') | ||
.pipe(csslint()) | ||
@@ -35,3 +35,3 @@ .pipe(csslint.reporter()); | ||
```javascript | ||
gulp.src('./client/css/*.css') | ||
gulp.src('client/css/*.css') | ||
.pipe(csslint({ | ||
@@ -51,3 +51,3 @@ 'shorthand': false | ||
```javascript | ||
gulp.src('./client/css/*.css') | ||
gulp.src('client/css/*.css') | ||
.pipe(csslint('csslintrc.json')) | ||
@@ -85,3 +85,3 @@ .pipe(csslint.reporter()); | ||
gulp.task('lint', function() { | ||
gulp.files('./lib/*.js') | ||
gulp.files('lib/*.js') | ||
.pipe(csslint()) | ||
@@ -88,0 +88,0 @@ .pipe(csslint.reporter(customReporter)); |
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
11317
249