Skip to content

Instantly share code, notes, and snippets.

@blakehaswell
Created January 25, 2013 05:32
Show Gist options
  • Save blakehaswell/4632011 to your computer and use it in GitHub Desktop.
Save blakehaswell/4632011 to your computer and use it in GitHub Desktop.
Gruntfile with my JSHint config.
module.exports = function (grunt) {
grunt.initConfig({
jshint: {
all: {
src: 'public/javascripts/app/*.js',
options: {
bitwise: true,
camelcase: true,
curly: true,
eqeqeq: true,
forin: true,
immed: true,
indent: 4,
latedef: true,
newcap: true,
noarg: true,
noempty: true,
nonew: true,
quotmark: 'single',
regexp: true,
undef: true,
unused: true,
trailing: true,
maxlen: 120
}
}
}
});
grunt.loadNpmTasks('grunt-contrib-jshint');
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment