Skip to content

Instantly share code, notes, and snippets.

@codeactual
Last active December 17, 2015 23:28
Show Gist options
  • Save codeactual/5688926 to your computer and use it in GitHub Desktop.
Save codeactual/5688926 to your computer and use it in GitHub Desktop.
module.exports = function(grunt) { // Intent: extend patterns seeded by a more universal module ...
this.demand(
'initConfig.jshint.src.files.src',
this.learn('initConfig.jshint.src.files.src').concat('bin/cli.js')
);
};
module.exports = function(grunt) { // Intent: ... or redefine them
return {
src: {
files: {
src: ['lib/**/*.js']
}
}
};
};
module.exports = function(grunt) { // Intent: ... or completely remove them
this.kill('initConfig.jshint'); // My code lints itself, I promise.
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment