Skip to content

Instantly share code, notes, and snippets.

@ncrohn
Created April 19, 2012 18:51
Show Gist options
  • Save ncrohn/2422972 to your computer and use it in GitHub Desktop.
Save ncrohn/2422972 to your computer and use it in GitHub Desktop.
Example Grunt File for Marketing
module.exports = function(grunt) {
grunt.initConfig({
lint: {
bundle: ['bundles/**/common/src/**/site/lib/**/*.js']
},
jshint: {
options: {
curly: true,
eqeqeq: false,
immed: true,
latedef: true,
newcap: true,
noarg: true,
sub: true,
undef: true,
eqnull: true,
browser: true
},
globals: {
jQuery: true
}
}
});
grunt.registerTask('default', 'lint:bundle');
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment