'use strict';

function getTaskConfig(projectConfig) {
	var taskConfig = {
		files: {
			bundle: [
				projectConfig.paths.src.scripts + '**/*.js',
				projectConfig.paths.src.components + '**/*.js',
				'!' + projectConfig.paths.src.scripts + 'vendor/*.js'
			],
			vendor: [
				projectConfig.paths.src.scripts + 'vendor/*.js'
			]
		},
		docs: {
		  "opts": {
				"destination": "./docs/gen"
		  }
		},
		useBabel: false,
		jshint: {
			"bitwise"       : true,
			"camelcase"     : true,
			"curly"         : true,
			"eqeqeq"        : true,
			"indent"        : 4,
			"newcap"        : true,
			"noarg"         : true,
			"noempty"       : true,
			"plusplus"      : false,
			"quotmark"      : "single",
			"regexp"        : true,
			"undef"         : true,
			"unused"        : true,
			"strict"        : true,
			"trailing"      : true,
			"maxparams"     : 20,
			"maxdepth"      : 3,
			"maxstatements" : 50,
			"maxcomplexity" : 10,
			"asi"           : false,
			"boss"          : false,
			"debug"         : false,
			"eqnull"        : false,
			"es5"           : false,
			"esnext"        : false,
			"evil"          : false,
			"expr"          : false,
			"funcscope"     : false,
			"globalstrict"  : false,
			"iterator"      : false,
			"lastsemic"     : false,
			"laxbreak"      : false,
			"laxcomma"      : false,
			"loopfunc"      : false,
			"multistr"      : false,
			"onecase"       : false,
			"proto"         : false,
			"regexdash"     : false,
			"scripturl"     : false,
			"smarttabs"     : true,
			"shadow"        : false,
			"sub"           : false,
			"supernew"      : false,
			"validthis"     : false,
			"nomen"         : false,
			"onevar"        : false,
			"passfail"      : false,
			"white"         : false,
			"globals": {
				"$": true,
				"clearInterval": true,
				"clearTimeout": true,
				"console": true,
				"document": true,
				"jQuery": true,
				"ga": true,
				"Modernizr": true,
				"module": true,
				"node": true,
				"process": true,
				"require": true,
				"setInterval": true,
				"setTimeout": true,
				"window": true,
				"XMLHttpRequest": true
			}
		},
		watch: [
			projectConfig.paths.src.scripts + '**/*.js'
		]
	};

	return taskConfig;
}

module.exports = getTaskConfig;

@@ -68,16 +68,35 @@
 fig = %7B%0A
+%09%09useBabel: false,%0A
 %09%09files:
@@ -418,35 +418,16 @@
  %7D%0A%09%09%7D,%0A
-%09%09useBabel: false,%0A
 %09%09jshint

Move useBabel config to the top of the file