Skip to content

Instantly share code, notes, and snippets.

@humphd
Created October 6, 2014 16:57
Show Gist options
  • Select an option

  • Save humphd/1a74639ceb8fd6e5ea0f to your computer and use it in GitHub Desktop.

Select an option

Save humphd/1a74639ceb8fd6e5ea0f to your computer and use it in GitHub Desktop.
Testing new feature for grunt
module.exports = function( grunt ) {
grunt.initConfig({
pkg: grunt.file.readJSON( "package.json" ),
jshint: {
options: {
"-W069": true // ignore "['...'] is better written in dot notation." warnings
},
files: [
"Gruntfile.js",
"install-webmaker.js",
"update-webmaker.js",
"lib/**/*.js"
]
}
});
grunt.loadNpmTasks( "grunt-contrib-jshint" );
grunt.registerTask( "default", [ "jshint" ]);
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment