Skip to content

Commit

Permalink
Remove jshint.
Browse files Browse the repository at this point in the history
  • Loading branch information
vogdb committed Jul 2, 2013
1 parent 7b95e50 commit bccad11
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 30 deletions.
32 changes: 3 additions & 29 deletions Gruntfile.js
Expand Up @@ -11,31 +11,6 @@ module.exports = function (grunt) {
+ ' Copyright (c) <%= grunt.template.today("yyyy") %> <%= pkg.author %>;'
+ ' Licensed <%= _.pluck(pkg.licenses, "type").join(", ") %>\n*/\n'

, jshint: {
options: {
curly: true
, eqeqeq: true
, immed: true
, latedef: true
, newcap: true
, noarg: true
, sub: true
, undef: true
, unused: true
, boss: true
, eqnull: true
, browser: true
, asi: true
, globals: {}
}
, gruntfile: {
src: 'Gruntfile.js'
}
, lib_test: {
src: ['lib/**/*.js', 'test/**/*.js']
}
}

, uglify: {
options: {
banner: '<%= banner %>'
Expand All @@ -48,18 +23,17 @@ module.exports = function (grunt) {

, watch: {
gruntfile: {
files: '<%= jshint.gruntfile.src %>'
, tasks: ['jshint:gruntfile']
files: '<%= uglify.dist.src %>'
, tasks: ['default']
}
}

})

grunt.loadNpmTasks('grunt-contrib-jshint')
grunt.loadNpmTasks('grunt-contrib-watch')
grunt.loadNpmTasks('grunt-contrib-uglify')

// Default task.
grunt.registerTask('default', ['jshint', 'uglify'])
grunt.registerTask('default', ['uglify'])

}
1 change: 0 additions & 1 deletion package.json
Expand Up @@ -18,7 +18,6 @@
},
"devDependencies":{
"grunt-contrib-watch":"~0.3.1",
"grunt-contrib-jshint":"~0.3.0",
"grunt-contrib-uglify":"~0.2.0",
"grunt":"~0.4.1"
}
Expand Down

0 comments on commit bccad11

Please sign in to comment.