-
Notifications
You must be signed in to change notification settings - Fork 8
Open
Description
This gruntfile worked with the package.json line commented out. When it was not commented as below, it failed to parse and "Loading..." continued to display in the Grunt console. Note: This runs fine in the command prompt.
/*global module */
module.exports = function (grunt) {
'use strict';
grunt.initConfig({
pkg: grunt.file.readJSON('package.json'),
jshint: {
options: {
nomen: false
},
all: ['Gruntfile.js', 'src/main.js', 'src/router.js']
}
});
grunt.loadNpmTasks('grunt-contrib-jshint');
grunt.registerTask('default', ['jshint']);
};
Metadata
Metadata
Assignees
Labels
No labels