We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents a2d1007 + ee76ba2 commit 16a52f4Copy full SHA for 16a52f4
Gruntfile.js
@@ -42,9 +42,17 @@ module.exports = function(grunt) {
42
"loopfunc": true, // allow functions to be defined in loops
43
"sub": true // don't warn that foo['bar'] should be written as foo.bar
44
},
45
- all: [
46
- '*/*.js'
47
- ],
+ all: {
+ src: ['*/*.js'],
+ filter: function(filepath) { // on some developer machines the test coverage HTML report utilities cause further failures
48
+ if(filepath.indexOf("coverage/prettify.js") === -1) {
49
+ return true;
50
+ } else {
51
+ console.log("Filtered out " + filepath + " from the jshint checks");
52
+ return false;
53
+ }
54
55
+ },
56
57
inlinelint: {
58
html: ['*/*.html']
0 commit comments