Skip to content

Commit 73f8019

Browse files
committed
Add jshint-stylish for some stylish jshinting
https://github.com/sindresorhus/jshint-stylish
1 parent 889befb commit 73f8019

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

templates/common/Gruntfile.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,8 @@ module.exports = function (grunt) {
104104
},
105105
jshint: {
106106
options: {
107-
jshintrc: '.jshintrc'
107+
jshintrc: '.jshintrc',
108+
reporter: require('jshint-stylish')
108109
},
109110
all: [
110111
'Gruntfile.js',

templates/common/_package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,8 @@
2424
"load-grunt-tasks": "~0.1.0",
2525
"grunt-google-cdn": "~0.2.0",
2626
"grunt-ngmin": "~0.0.2",
27-
"time-grunt": "~0.1.0"
27+
"time-grunt": "~0.1.0",
28+
"jshint-stylish": "~0.1.3"
2829
},
2930
"engines": {
3031
"node": ">=0.8.0"

0 commit comments

Comments
 (0)