Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

added jshint-stylish reporter

  • Loading branch information...
commit e9ec2d77a7c9c33a6a3805f34af1398e8c9fe546 1 parent 5402e53
@bahmutov authored
Showing with 11 additions and 10 deletions.
  1. +10 −2 Gruntfile.js
  2. +0 −8 jshint.json
  3. +1 −0  package.json
View
12 Gruntfile.js
@@ -1,4 +1,4 @@
-/*global module:false*/
+/* global module, require */
module.exports = function (grunt) {
module.require('time-grunt')(grunt);
@@ -20,7 +20,15 @@ module.exports = function (grunt) {
}
},
- jshint: grunt.file.readJSON('jshint.json'),
+ jshint: {
+ 'options': {
+ jshintrc: '.jshintrc',
+ reporter: require('jshint-stylish')
+ },
+ default: {
+ 'src': [ '*.js', 'test/*.js' ]
+ }
+ },
complexity: grunt.file.readJSON('complexity.json'),
View
8 jshint.json
@@ -1,8 +0,0 @@
-{
- "options": {
- "jshintrc": ".jshintrc"
- },
- "default": {
- "src": [ "*.js", "test/*.js" ]
- }
-}
View
1  package.json
@@ -22,6 +22,7 @@
"grunt-node-qunit": "~2.0.2",
"grunt-npm2bower-sync": "~0.3.0",
"gt": "~0.8.33",
+ "jshint-stylish": "~0.1.5",
"matchdep": "~0.3.0",
"pre-git": "0.0.15",
"q": "~1.0.0",
Please sign in to comment.
Something went wrong with that request. Please try again.