diff --git a/Gruntfile.js b/Gruntfile.js index 008716f..75e70c9 100644 --- a/Gruntfile.js +++ b/Gruntfile.js @@ -1,33 +1,36 @@ module.exports = function(grunt) { - grunt.initConfig({ - simplemocha: { - options: { - globals: ['should'], - timeout: 3000, - ignoreLeaks: false, - ui: 'bdd', - reporter: 'list' - }, - all: { src: ['test/**/*.js'] } - }, + grunt.initConfig({ + simplemocha: { + options: { + globals: ['should'], + timeout: 3000, + ignoreLeaks: false, + ui: 'bdd', + reporter: 'list' + }, + all: { src: ['test/**/*.js'] } + }, - jshint: { - all: [ 'Gruntfile.js', 'index.js', 'lib/**/*.js', 'test/**/*.js'] - }, + jshint: { + options: { + laxbreak: true + }, + all: [ 'Gruntfile.js', 'index.js', 'lib/**/*.js', 'test/**/*.js'] + }, - jsdoc: { - all: { - src: ['index.js', 'lib/**/*.js'], - dest: 'doc' - } - } - }); + jsdoc: { + all: { + src: ['index.js', 'lib/**/*.js'], + dest: 'doc' + } + } + }); - grunt.loadNpmTasks('grunt-contrib-jshint'); - grunt.loadNpmTasks('grunt-simple-mocha'); - grunt.loadNpmTasks('grunt-jsdoc'); + grunt.loadNpmTasks('grunt-contrib-jshint'); + grunt.loadNpmTasks('grunt-simple-mocha'); + grunt.loadNpmTasks('grunt-jsdoc'); - grunt.registerTask('test', ['simplemocha:all']); - grunt.registerTask('build', ['jshint', 'test']); - grunt.registerTask('default', ['build', 'jsdoc']); + grunt.registerTask('test', ['simplemocha:all']); + grunt.registerTask('build', ['jshint', 'test']); + grunt.registerTask('default', ['build', 'jsdoc']); };