diff options
Diffstat (limited to 'thirdparty/URI.js/Gruntfile.js')
-rw-r--r-- | thirdparty/URI.js/Gruntfile.js | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/thirdparty/URI.js/Gruntfile.js b/thirdparty/URI.js/Gruntfile.js new file mode 100644 index 000000000..e896c6552 --- /dev/null +++ b/thirdparty/URI.js/Gruntfile.js @@ -0,0 +1,22 @@ +module.exports = function(grunt) { + 'use strict'; + + var jshintOptions = grunt.file.readJSON('.jshintrc'); + jshintOptions.reporter = require('jshint-stylish'); + + grunt.initConfig({ + jshint: { + options: jshintOptions, + target: [ + 'Gruntfile.js', + 'src/*.js', + 'test/*.js', + '!src/*.min.js', + '!src/punycode.js' + ] + } + }); + + grunt.loadNpmTasks('grunt-contrib-jshint'); + grunt.registerTask('lint', 'jshint'); +}; |