Skip to content

Commit 8ba8eba

Browse files
committed
Add Gruntfile.js to JSHint list
1 parent 2b8a5f3 commit 8ba8eba

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

Gruntfile.js

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
module.exports = function(grunt) {
2+
"use strict";
3+
24
var _ = grunt.util._;
35
var path = require('path');
46

@@ -23,7 +25,7 @@ module.exports = function(grunt) {
2325
// Taken from http://dzone.com/snippets/calculate-all-combinations
2426
var combine = function (a) {
2527
var fn = function (n, src, got, all) {
26-
if (n == 0) {
28+
if (n === 0) {
2729
all.push(got);
2830
return;
2931
}
@@ -92,7 +94,7 @@ module.exports = function(grunt) {
9294
options: {
9395
jshintrc: '.jshintrc'
9496
},
95-
all: ['src/**/*.js', 'plugins/**/*.js']
97+
all: ['Gruntfile.js', 'src/**/*.js', 'plugins/**/*.js']
9698
},
9799

98100
mocha: {

0 commit comments

Comments
 (0)