jshint-stylish
Advanced tools
Comparing version 0.1.4 to 0.1.5
{ | ||
"name": "jshint-stylish", | ||
"version": "0.1.4", | ||
"version": "0.1.5", | ||
"description": "Stylish reporter for JSHint", | ||
"keywords": [ | ||
"jshint", | ||
"reporter", | ||
"lint", | ||
"validate", | ||
"stylish", | ||
"elegant" | ||
], | ||
"homepage": "https://github.com/sindresorhus/jshint-stylish", | ||
"bugs": "https://github.com/sindresorhus/jshint-stylish/issues", | ||
"license": "MIT", | ||
"repository": "sindresorhus/jshint-stylish", | ||
"author": { | ||
@@ -21,2 +12,8 @@ "name": "Sindre Sorhus", | ||
}, | ||
"engines": { | ||
"node": ">=0.10.0" | ||
}, | ||
"scripts": { | ||
"test": "mocha" | ||
}, | ||
"files": [ | ||
@@ -26,20 +23,18 @@ "index.js", | ||
], | ||
"repository": { | ||
"type": "git", | ||
"url": "git://github.com/sindresorhus/jshint-stylish.git" | ||
}, | ||
"scripts": { | ||
"test": "mocha" | ||
}, | ||
"keywords": [ | ||
"jshint", | ||
"reporter", | ||
"lint", | ||
"validate", | ||
"stylish", | ||
"elegant" | ||
], | ||
"dependencies": { | ||
"chalk": "~0.2.1", | ||
"chalk": "~0.4.0", | ||
"text-table": "~0.2.0" | ||
}, | ||
"devDependencies": { | ||
"mocha": "~1.13.0", | ||
"jshint": "~2.1.11" | ||
}, | ||
"engines": { | ||
"node": ">=0.8.0" | ||
"mocha": "*", | ||
"jshint": "~2" | ||
} | ||
} |
@@ -27,2 +27,12 @@ # jshint-stylish [](http://travis-ci.org/sindresorhus/jshint-stylish) | ||
#### [gulp-jshint](https://github.com/wearefractal/gulp-jshint) | ||
```js | ||
gulp.task('default', function () { | ||
gulp.src(['file.js']) | ||
.pipe(jshint('.jshintrc')) | ||
.pipe(jshint.reporter('jshint-stylish')); | ||
}); | ||
``` | ||
#### [grunt-contrib-jshint](https://github.com/gruntjs/grunt-contrib-jshint) | ||
@@ -29,0 +39,0 @@ |
@@ -34,3 +34,7 @@ 'use strict'; | ||
return line; | ||
})).split('\n').map(function (el, i) { | ||
}), { | ||
stringLength: function (str) { | ||
return chalk.stripColor(str).length; | ||
} | ||
}).split('\n').map(function (el, i) { | ||
return headers[i] ? '\n' + chalk.underline(headers[i]) + '\n' + el : el; | ||
@@ -37,0 +41,0 @@ }).join('\n') + '\n\n'; |
No bug tracker
MaintenancePackage does not have a linked bug tracker in package.json.
Found 1 instance in 1 package
No repository
Supply chain riskPackage does not have a linked source code repository. Without this field, a package will have no reference to the location of the source code use to generate the package.
Found 1 instance in 1 package
No website
QualityPackage does not have a website.
Found 1 instance in 1 package
3075
43
57
2
1
+ Addedansi-styles@1.0.0(transitive)
+ Addedchalk@0.4.0(transitive)
+ Addedstrip-ansi@0.1.1(transitive)
- Removedansi-styles@0.2.0(transitive)
- Removedchalk@0.2.1(transitive)
Updatedchalk@~0.4.0