diff options
author | Florian Dold <florian.dold@gmail.com> | 2016-10-10 03:47:49 +0200 |
---|---|---|
committer | Florian Dold <florian.dold@gmail.com> | 2016-10-10 03:47:49 +0200 |
commit | 21e6b15991212e21a0bd9928890e8e8518f367e8 (patch) | |
tree | 3859320d916ff6c2e2fbe2f022375827fa28997c /thirdparty/URI.js/Gruntfile.js | |
parent | 02fa518542328183f35ae04d389b61226f4c4e30 (diff) | |
parent | d5194154335d6cb30edca9b648083069faf9778c (diff) |
Merge commit 'd5194154335d6cb30edca9b648083069faf9778c' as 'thirdparty/URI.js'
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'); +}; |