Deal with jshint hating the Function constructor
This commit is contained in:
parent
263b9cd9b0
commit
2d3b15d310
|
@ -18,11 +18,14 @@ module.exports = function(grunt) {
|
|||
|
||||
jshint: {
|
||||
// Don't bother with src/path.js
|
||||
all: ['gruntfile.js',
|
||||
all: [
|
||||
'gruntfile.js',
|
||||
'src/constants.js',
|
||||
'src/error.js',
|
||||
'src/fs.js',
|
||||
'src/index.js',
|
||||
'src/shared.js',
|
||||
'src/shell.js',
|
||||
'src/providers/**/*.js',
|
||||
'src/adapters/**/*.js'
|
||||
]
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
/* jshint evil:true */
|
||||
define(function(require) {
|
||||
|
||||
var Path = require('src/path');
|
||||
|
|
Loading…
Reference in New Issue