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

grunt-jscs-checker

Package Overview
Dependencies
Maintainers
1
Versions
31
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

grunt-jscs-checker - npm Package Compare versions

Comparing version 0.1.7 to 0.2.0

2

package.json
{
"name": "grunt-jscs-checker",
"description": "Grunt task for checking JavaScript Code Style with jscs.",
"version": "0.1.7",
"version": "0.2.0",
"author": {

@@ -6,0 +6,0 @@ "name": "Gustavo Henke",

@@ -6,3 +6,3 @@ module.exports = function( grunt ) {

var path = require( "path" );
var jscs = new (require( "jscs/lib/checker" ))();
var Checker = require( "jscs/lib/checker" );
var defaults = {

@@ -14,2 +14,3 @@ config: ".jscs.json"

var errorCount, i;
var jscs = new Checker();
var options = this.options( defaults );

@@ -36,2 +37,7 @@ var cfgPath = options.config;

files.map( jscs.checkFile, jscs ).forEach(function( promise ) {
if ( !promise ) {
i++;
return;
}
promise.then(function( errors ) {

@@ -38,0 +44,0 @@ i++;

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