gulp-rb-validate-css
Advanced tools
Comparing version 0.0.7 to 0.0.8
24
index.js
@@ -281,13 +281,13 @@ /*jslint node: true*/ | ||
} | ||
if (typeof options.forcerem !== 'boolean') { | ||
options.forcerem = true; | ||
if (typeof options.forceRem !== 'boolean') { | ||
options.forceRem = true; | ||
} | ||
if (typeof options.checkindent !== 'boolean') { | ||
options.checkindent = true; | ||
if (typeof options.checkIndent !== 'boolean') { | ||
options.checkIndent = true; | ||
} | ||
if (typeof options.checkremote !== 'boolean') { | ||
options.checkremote = true; | ||
if (typeof options.checkRemote !== 'boolean') { | ||
options.checkRemote = true; | ||
} | ||
if (typeof options.checkimportant !== 'boolean') { | ||
options.checkimportant = true; | ||
if (typeof options.checkImportant !== 'boolean') { | ||
options.checkImportant = true; | ||
} | ||
@@ -323,15 +323,15 @@ if (typeof options.linewidthSass !== 'boolean') { | ||
if (options.checkremote) { | ||
if (options.checkRemote) { | ||
checkRemote(nocomments); | ||
} | ||
if (options.checkimportant) { | ||
if (options.checkImportant) { | ||
checkImportant(nocomments); | ||
} | ||
if (options.forcerem) { | ||
if (options.forceRem) { | ||
checkEmFonts(nocomments); | ||
} | ||
if (options.checkindent) { | ||
if (options.checkIndent) { | ||
checkIndentation(str, options.indent); | ||
@@ -338,0 +338,0 @@ } |
{ | ||
"name": "gulp-rb-validate-css", | ||
"version": "0.0.7", | ||
"version": "0.0.8", | ||
"description": "Gulp plugin to validate CSS files according to Web Frontend Guidelines", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -33,5 +33,5 @@ #Installation | ||
indent: '\t', | ||
checkremote: false, | ||
checkRemote: false, | ||
linewidth: 100, | ||
forcerem: false | ||
forceRem: false | ||
}); | ||
@@ -52,7 +52,7 @@ | ||
#### checkindent: Boolean (Default: true) | ||
#### checkIndent: Boolean (Default: true) | ||
Set to false to deactivate indentation checks altogether | ||
#### checkremote: Boolean (Default: true) | ||
#### checkRemote: Boolean (Default: true) | ||
@@ -69,8 +69,8 @@ Set to false to deactivate all warnings caused by remote resource URLs in CSS code | ||
#### forcerem: Boolean (Default: true) | ||
#### forceRem: Boolean (Default: true) | ||
Set to false to deactivate warnings for the use of ‘em’ font sizes | ||
#### checkimportant: Boolean (Default: true) | ||
#### checkImportant: Boolean (Default: true) | ||
Set to false to deactivate warnings for the use of !important |
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