/*
 * cfpathcheck
 * https://github.com/timbeadle/cfpathcheck
 *
 * Copyright (c) 2015 Tim Beadle
 * Licensed under the MIT license.
 */

module.exports = function (grunt) {
	// load all npm grunt tasks
	require('load-grunt-tasks')(grunt);

	grunt.initConfig({
		eslint: {
			options: {
				configFile: '.eslintrc.json'
			},
			src: ['lib/*.js']
		}
	});

	grunt.registerTask('test', ['eslint']);

};

/*
 * cfpathcheck
 * https://github.com/timbeadle/cfpathcheck
 *
 * Copyright (c) 2015 Tim Beadle
 * Licensed under the MIT license.
 */

module.exports = function (grunt) {
	grunt.initConfig({
		eslint: {
			options: {
				configFile: '.eslintrc.json'
			},
			src: ['lib/*.js']
		}
	});

	grunt.registerTask('test', ['eslint']);

	grunt.loadNpmTasks('gruntify-eslint');
	grunt.loadNpmTasks('grunt-release');
};

--- 
+++ 
@@ -7,6 +7,9 @@
  */
 
 module.exports = function (grunt) {
+	// load all npm grunt tasks
+	require('load-grunt-tasks')(grunt);
+
 	grunt.initConfig({
 		eslint: {
 			options: {
@@ -18,6 +21,4 @@
 
 	grunt.registerTask('test', ['eslint']);
 
-	grunt.loadNpmTasks('gruntify-eslint');
-	grunt.loadNpmTasks('grunt-release');
 };
Use load-grunt-tasks to load all task modules specified in package.json
