@@ -101,10 +101,6 @@ module.exports = function(grunt) {
101
101
102
102
// Project configuration.
103
103
grunt . initConfig ( {
104
- jshint : {
105
- options : { jshintrc : '.jshintrc' } ,
106
- amd : { src : amdSrc }
107
- } ,
108
104
eslint : {
109
105
// Even though warnings dont stop the build we don't display warnings by default because
110
106
// at this moment we've got too many core warnings.
@@ -288,7 +284,6 @@ module.exports = function(grunt) {
288
284
var files = Object . keys ( changedFiles ) ;
289
285
grunt . config ( 'eslint.amd.src' , files ) ;
290
286
grunt . config ( 'eslint.yui.src' , files ) ;
291
- grunt . config ( 'jshint.amd.src' , files ) ;
292
287
grunt . config ( 'uglify.amd.files' , [ { expand : true , src : files , rename : uglifyRename } ] ) ;
293
288
grunt . config ( 'shifter.options.paths' , files ) ;
294
289
changedFiles = Object . create ( null ) ;
@@ -301,7 +296,6 @@ module.exports = function(grunt) {
301
296
302
297
// Register NPM tasks.
303
298
grunt . loadNpmTasks ( 'grunt-contrib-uglify' ) ;
304
- grunt . loadNpmTasks ( 'grunt-contrib-jshint' ) ;
305
299
grunt . loadNpmTasks ( 'grunt-contrib-less' ) ;
306
300
grunt . loadNpmTasks ( 'grunt-contrib-watch' ) ;
307
301
grunt . loadNpmTasks ( 'grunt-eslint' ) ;
@@ -310,7 +304,7 @@ module.exports = function(grunt) {
310
304
grunt . registerTask ( 'shifter' , 'Run Shifter against the current directory' , tasks . shifter ) ;
311
305
grunt . registerTask ( 'ignorefiles' , 'Generate ignore files for linters' , tasks . ignorefiles ) ;
312
306
grunt . registerTask ( 'yui' , [ 'eslint:yui' , 'shifter' ] ) ;
313
- grunt . registerTask ( 'amd' , [ 'eslint:amd' , 'jshint' , ' uglify'] ) ;
307
+ grunt . registerTask ( 'amd' , [ 'eslint:amd' , 'uglify' ] ) ;
314
308
grunt . registerTask ( 'js' , [ 'amd' , 'yui' ] ) ;
315
309
316
310
// Register CSS taks.
0 commit comments