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

coffee-jshint

Package Overview
Dependencies
Maintainers
2
Versions
33
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

coffee-jshint - npm Package Compare versions

Comparing version 0.0.8 to 0.0.9

10

lib-js/hint.js
// Generated by CoffeeScript 1.6.3
var CoffeeScript, buildTrueObj, defaultOptions, errorsToSkip, formatErrors, fs, hint, hintFiles, jshint, _,
__indexOf = [].indexOf || function(item) { for (var i = 0, l = this.length; i < l; i++) { if (i in this && this[i] === item) return i; } return -1; };
var CoffeeScript, buildTrueObj, defaultOptions, errorsToSkip, formatErrors, fs, hint, hintFiles, jshint, _;

@@ -15,3 +14,3 @@ fs = require('fs');

errorsToSkip = ["Did you mean to return a conditional instead of an assignment?", "Confusing use of '!'.", "Wrap the /regexp/ literal in parens to disambiguate the slash operator."];
errorsToSkip = ["Did you mean to return a conditional instead of an assignment?", "Confusing use of '!'.", "Wrap the /regexp/ literal in parens to disambiguate the slash operator.", "Creating global 'for' variable. Should be 'for (var"];

@@ -62,4 +61,5 @@ hintFiles = function(paths, config, log) {

}).filter(function(error) {
var _ref1;
return _ref1 = error.reason, __indexOf.call(errorsToSkip, _ref1) < 0;
return !_.any(errorsToSkip, function(to_skip) {
return error.reason.indexOf(to_skip >= 0);
});
}).value();

@@ -66,0 +66,0 @@ }

{
"name": "coffee-jshint",
"version": "0.0.8",
"version": "0.0.9",
"description": "Checks CoffeeScript source for errors using JSHint",

@@ -5,0 +5,0 @@ "engines": {

Sorry, the diff of this file is not supported yet

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