jscheckstyle
Advanced tools
Comparing version 0.0.7 to 0.0.8
@@ -205,3 +205,3 @@ var analyser = require('./analyser'), | ||
if (path.existsSync(ignoreFile)) { | ||
if ((fs.existsSync) ? fs.existsSync(ignoreFile) : path.existsSync(ignoreFile)) { | ||
ignores = fs.readFileSync(ignoreFile, 'utf-8').split('\n').filter(function (line) { | ||
@@ -208,0 +208,0 @@ return !!line; |
{ | ||
"name": "jscheckstyle", | ||
"version": "0.0.7", | ||
"version": "0.0.8", | ||
"description": "Static analysis tool for javascript - calculates cyclomatic complexity, amongst other things", | ||
@@ -21,3 +21,3 @@ "keywords": [ | ||
"dependencies": { | ||
"cli-table": ">=0.0.1", | ||
"cli-table": ">=0.2.0", | ||
"burrito": ">=0.2.8", | ||
@@ -24,0 +24,0 @@ "file": ">=0.1.1" |
@@ -6,2 +6,4 @@ [![Build Status](https://secure.travis-ci.org/nomiddlename/jscheckstyle.png?branch=master)](http://travis-ci.org/nomiddlename/jscheckstyle) | ||
NOTE: jshint now does most of these checks, http://www.elijahmanor.com/2012/09/control-complexity-of-your-javascript.html so you may not need this any more. Use jshint instead, it checks for a whole load of other things as well. | ||
## Installation | ||
@@ -8,0 +10,0 @@ npm install jscheckstyle |
@@ -80,4 +80,4 @@ var vows = require('vows'), | ||
aNiceTable = function(output) { | ||
assert.match(output, /┏[━┳]*┓/); | ||
assert.match(output, /┗[━┻]*┛/); | ||
assert.match(output, /┌[─┬]*┐/); | ||
assert.match(output, /└[─┴]*┘/); | ||
}, | ||
@@ -84,0 +84,0 @@ empty = function(output) { |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Non-existent author
Supply chain riskThe package was published by an npm account that no longer exists.
Found 1 instance in 1 package
47636
35
0
Updatedcli-table@>=0.2.0