Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

gulp-rb-validate-css

Package Overview
Dependencies
Maintainers
1
Versions
12
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

gulp-rb-validate-css - npm Package Compare versions

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
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc