Skip to content

Instantly share code, notes, and snippets.

@perrupa
Forked from jlouthan/Gruntfile.js
Last active August 29, 2015 14:08
Show Gist options
  • Save perrupa/959e965b08399f6bd9df to your computer and use it in GitHub Desktop.
Save perrupa/959e965b08399f6bd9df to your computer and use it in GitHub Desktop.
// wrapper function
module.exports = function(grunt){
// load all our Grunt plugins
require('load-grunt-tasks')(grunt);
grunt.initConfig({
pkg: grunt.file.readJSON('package.json'),
// task configuration goes here
jshint: {
options: {
"node": true,
"esnext": true,
"curly": false,
"smarttabs": true,
"indent": 2,
"quotmark": "single"
},
all: ['Gruntfile.js', 'scripts/{,*/}*.js']
}
});
// define the default task that executes when we run 'grunt' from inside the project
grunt.registerTask('default', []);
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment