"use strict";
module.exports = function (grunt) {
	// Start w/ a clean slate
	grunt.initConfig({});

	// JSHint
	grunt.loadNpmTasks("grunt-contrib-jshint");
	grunt.config("jshint", {
		"options": { "jshintrc": true },
		"all": ["*.js", "tests/*.js"]
	});

	grunt.loadNpmTasks("grunt-contrib-nodeunit");
	grunt.config("nodeunit", {
		all: ["tests/*.js"]
	});

	// Default task
	grunt.registerTask("default", "Does nothing", function () { /* Does nothing */ });
	// Aliases
	grunt.registerTask("hint", ["jshint"]);
	grunt.registerTask("lint", ["jshint"]);
};

"use strict";
module.exports = function (grunt) {
	// Start w/ a clean slate
	grunt.initConfig({});

	// JSHint
	grunt.loadNpmTasks("grunt-contrib-jshint");
	grunt.config("jshint", {
		"options": {"jshintrc": true},
		"all": ["*.js"]
	});

	// Default task
	grunt.registerTask("default", "Does nothing", function () { /* Does nothing */ });
	// Aliases
	grunt.registerTask("hint", ["jshint"]);
	grunt.registerTask("lint", ["jshint"]);
};

--- 
+++ 
@@ -6,13 +6,8 @@
 	// JSHint
 	grunt.loadNpmTasks("grunt-contrib-jshint");
 	grunt.config("jshint", {
-		"options": { "jshintrc": true },
-		"all": ["*.js", "tests/*.js"]
-	});
-
-	grunt.loadNpmTasks("grunt-contrib-nodeunit");
-	grunt.config("nodeunit", {
-		all: ["tests/*.js"]
+		"options": {"jshintrc": true},
+		"all": ["*.js"]
 	});
 
 	// Default task
Add nodeunit to Grunt file
