Make certain grunt-monty-python is being checked by jshint.
Showing
2 changed files
with
5 additions
and
2 deletions
... | @@ -8,6 +8,9 @@ module.exports = function(grunt) { | ... | @@ -8,6 +8,9 @@ module.exports = function(grunt) { |
8 | common.jshint = { | 8 | common.jshint = { |
9 | options: { | 9 | options: { |
10 | }, | 10 | }, |
11 | all: [ | ||
12 | 'grunt-monty-python.js', | ||
13 | ], | ||
11 | browserOptions: { | 14 | browserOptions: { |
12 | }, | 15 | }, |
13 | }; | 16 | }; | ... | ... |
... | @@ -3,9 +3,9 @@ | ... | @@ -3,9 +3,9 @@ |
3 | * | 3 | * |
4 | */ | 4 | */ |
5 | 5 | ||
6 | 'use strict'; | ||
7 | 6 | ||
8 | module.exports = function (grunt) { | 7 | module.exports = function (grunt) { |
8 | 'use strict'; | ||
9 | var _ = require('lodash'); | 9 | var _ = require('lodash'); |
10 | 10 | ||
11 | require('load-grunt-tasks')(grunt); | 11 | require('load-grunt-tasks')(grunt); |
... | @@ -78,7 +78,7 @@ module.exports = function (grunt) { | ... | @@ -78,7 +78,7 @@ module.exports = function (grunt) { |
78 | if (lines.length > 1) { | 78 | if (lines.length > 1) { |
79 | lines.push('})(require.paths);'); | 79 | lines.push('})(require.paths);'); |
80 | segments = segments.concat(lines); | 80 | segments = segments.concat(lines); |
81 | lines = null | 81 | lines = null; |
82 | } | 82 | } |
83 | } | 83 | } |
84 | 84 | ... | ... |
-
Please register or sign in to post a comment