Skip to content

Instantly share code, notes, and snippets.

@bhoggard
Created November 1, 2013 21:30
Show Gist options
  • Save bhoggard/7272269 to your computer and use it in GitHub Desktop.
Save bhoggard/7272269 to your computer and use it in GitHub Desktop.
Start of Gruntfile for jshint testing.
module.exports = function(grunt) {
grunt.initConfig({
jshint: {
files: ['Gruntfile.js', 'app/assets/javascripts/pages/**/*.js', 'test/**/*.js'],
options: {
// options here to override JSHint defaults
globals: {
jQuery: true,
console: true,
module: true,
document: true
}
}
}
});
grunt.loadNpmTasks('grunt-contrib-jshint');
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment