gulp-rb-validate-jshint
Advanced tools
Comparing version 0.0.2 to 0.0.3
10
index.js
@@ -55,3 +55,3 @@ /*jslint node: true */ | ||
if (abort) { | ||
gutil.log('[' + guideline + '] ' + gutil.colors.white(tag + ": ") + gutil.colors.red(mistake)); | ||
gutil.log('[' + guideline + '] ' + gutil.colors.white(tag + ": ") + gutil.colors.red(mistake) + " [FAIL]"); | ||
errorBreak = true; | ||
@@ -100,4 +100,10 @@ } else { | ||
checkJShint(JSON.parse(str)); | ||
error = false; | ||
if (!str) { | ||
validationError('', 'File is empty or null', 'WARNING', false); | ||
} else { | ||
checkJShint(JSON.parse(str)); | ||
} | ||
if (error) { | ||
@@ -104,0 +110,0 @@ gutil.log(gutil.colors.cyan("File: " + file.path)); |
{ | ||
"name": "gulp-rb-validate-jshint", | ||
"version": "0.0.2", | ||
"version": "0.0.3", | ||
"description": "Gulp plugin to check .jshintrc according to web frontend guidelines", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
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
4826
108