/*
 * 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');
};

/*
 * 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']);

};

Use load-grunt-tasks to load all task modules specified in package.json
Use load-grunt-tasks to load all task modules specified in package.json
