bigbluebutton-Github/bigbluebutton-html5/Gruntfile.js
2015-03-05 17:55:23 +00:00

37 lines
745 B
JavaScript

/* jshint node: true */
'use strict';
module.exports = function(grunt) {
// configure Grunt
grunt.initConfig({
// files to lint with the JSHint task
jshint: {
files: {
src: [
'Gruntfile.js'
]
}
},
coffeelint: {
files: {
src: [
'**/*.coffee',
'!node_modules/**/*',
'!app/.meteor/**/*',
'!app/packages/**/*'
]
}
}
});
// load the module containing the JSHint task
grunt.loadNpmTasks('grunt-contrib-jshint');
grunt.loadNpmTasks('grunt-coffeelint');
// register a default task to run JSHint
// (allows `grunt` rather than `grunt jshint`)
grunt.registerTask('default', ['jshint', 'coffeelint']);
};