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