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

gulp-lintspaces

Package Overview
Dependencies
Maintainers
1
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

gulp-lintspaces - npm Package Compare versions

Comparing version 0.3.3 to 0.3.4

16

index.js

@@ -5,2 +5,3 @@ var

PluginError = require('gulp-util').PluginError,
log = require('gulp-util').log,
colors = require('gulp-util').colors

@@ -36,8 +37,9 @@ ;

file.lintspaces[line].forEach(function(error) {
console.error(
'[%s] %s in (%s:%d)\n',
colors.green('gulp-lintspaces'),
colors.red(error.message),
file.path,
line
log(
'gulp-lintspaces',
[
colors.red(error.message),
'in',
file.path + ':' + line
].join(' ')
);

@@ -49,3 +51,3 @@ });

if (Object.keys(file.lintspaces).length) {
this.emit('error', new PluginError("lint-spaces", "Failed linting spaces"));
this.emit('error', new PluginError("gulp-lintspaces", "Found spacing errors"));
}

@@ -52,0 +54,0 @@

{
"name": "gulp-lintspaces",
"version": "0.3.3",
"version": "0.3.4",
"description": "gulp plugin for lintspaces",

@@ -5,0 +5,0 @@ "main": "index.js",

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