From 8e29b3d321fee63fd763ed010a5733b4fd6e30ab Mon Sep 17 00:00:00 2001 From: XhmikosR Date: Fri, 7 Mar 2014 13:36:02 +0200 Subject: [PATCH] Add "grunt/*.js" in the JSHint and JSCS checks. --- Gruntfile.js | 2 +- grunt/ratchicons-data-generator.js | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/Gruntfile.js b/Gruntfile.js index 52a9cdc..37c3588 100644 --- a/Gruntfile.js +++ b/Gruntfile.js @@ -178,7 +178,7 @@ module.exports = function(grunt) { jshintrc: 'js/.jshintrc' }, grunt: { - src: 'Gruntfile.js' + src: ['Gruntfile.js', 'grunt/*.js'] }, src: { src: 'js/*.js' diff --git a/grunt/ratchicons-data-generator.js b/grunt/ratchicons-data-generator.js index e60514f..a340efa 100644 --- a/grunt/ratchicons-data-generator.js +++ b/grunt/ratchicons-data-generator.js @@ -4,6 +4,9 @@ * Original script from Bootstrap (http://getbootstrap.com). * Bootstrap is copyright 2014 Twitter, Inc. and licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE). */ + +/* jshint node: true */ + 'use strict'; var fs = require('fs');