From d5194154335d6cb30edca9b648083069faf9778c Mon Sep 17 00:00:00 2001 From: Florian Dold Date: Mon, 10 Oct 2016 03:47:49 +0200 Subject: Squashed 'thirdparty/URI.js/' content from commit b77c167 git-subtree-dir: thirdparty/URI.js git-subtree-split: b77c167bc201575956ad409333ff032e504b8044 --- Gruntfile.js | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 Gruntfile.js (limited to 'Gruntfile.js') diff --git a/Gruntfile.js b/Gruntfile.js new file mode 100644 index 000000000..e896c6552 --- /dev/null +++ b/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'); +}; -- cgit v1.2.3