jshint-stylish
Advanced tools
Comparing version 0.1.3 to 0.1.4
{ | ||
"name": "jshint-stylish", | ||
"version": "0.1.3", | ||
"version": "0.1.4", | ||
"description": "Stylish reporter for JSHint", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
@@ -7,5 +7,7 @@ # jshint-stylish [![Build Status](https://secure.travis-ci.org/sindresorhus/jshint-stylish.png?branch=master)](http://travis-ci.org/sindresorhus/jshint-stylish) | ||
*Compared to the [default reporter](screenshot-default-formatter.png).* | ||
Compared to the default reporter: | ||
![default reporter](screenshot-default-formatter.png) | ||
## Install | ||
@@ -38,3 +40,3 @@ | ||
grunt.loadNpmTasks('grunt-jshint'); | ||
grunt.loadNpmTasks('grunt-contrib-jshint'); | ||
grunt.registerTask('default', ['jshint']); | ||
@@ -41,0 +43,0 @@ ``` |
@@ -39,5 +39,5 @@ 'use strict'; | ||
if (total > 0) { | ||
ret += chalk.red.bold('✖ ' + total + ' problem' + (total === 1 ? '' : 's')); | ||
ret += chalk.red.bold((process.platform !== 'win32' ? '✖ ' : '') + total + ' problem' + (total === 1 ? '' : 's')); | ||
} else { | ||
ret += chalk.green.bold('✔ No problems'); | ||
ret += chalk.green.bold((process.platform !== 'win32' ? '✔ ' : '') + 'No problems'); | ||
ret = '\n' + ret.trim(); | ||
@@ -44,0 +44,0 @@ } |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
2975
47