Skip to content

Instantly share code, notes, and snippets.

@dcherman
Created September 20, 2012 00:24
Show Gist options
  • Save dcherman/3753206 to your computer and use it in GitHub Desktop.
Save dcherman/3753206 to your computer and use it in GitHub Desktop.
// Lots of indentation variety on this file trying
// to get JSHint to throw an indentation error
module.exports = function( grunt ) {
grunt.initConfig({
jshint: {
all: [
"Gruntfile.js"
],
options: {
indent: 1
}
}
});
// The missing semicolon here is on purpose
// just so I can confirm that JSHint is working as expected
// for this test
grunt.registerTask( "default", "jshint" )
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment