h5bp/html5-boilerplate — Issue #952: ant build jshint fails
Author: davidrapson
Created: 2012-01-31 22:30:20+00:00
State: open

Running `ant build jshint` using the default properties currently fails.

Is there any way of telling the build script to **not** lint certain files (other than those in libs/)?

jshint:
[apply] Bad assignment. (line: 1, character: 112)
[apply] > window.log=function(){log.history=log.history||[];log.history.push(arguments);if(this.console){arguments.callee=arguments.callee.caller;var a=[].slice.call(arguments);typeof console.log==="object"?log.apply.call(console.log,console,a):console.log.apply(console,a)}};
[apply]
[apply] Expected an assignment or function call and instead saw an expression. (line: 1, character: 263)
[apply] > window.log=function(){log.history=log.history||[];log.history.push(arguments);if(this.console){arguments.callee=arguments.callee.caller;var a=[].slice.call(arguments);typeof console.log==="object"?log.apply.call(console.log,console,a):console.log.apply(console,a)}};
[apply]
[apply] Missing semicolon. (line: 1, character: 264)
[apply] > window.log=function(){log.history=log.history||[];log.history.push(arguments);if(this.console){arguments.callee=arguments.callee.caller;var a=[].slice.call(arguments);typeof console.log==="object"?log.apply.call(console.log,console,a):console.log.apply(console,a)}};
[apply]
[apply] Expected a conditional expression and instead saw an assignment. (line: 2, character: 243)
[apply] > (function(a){function c(){}for(var d="assert,clear,count,debug,dir,dirxml,error,exception,firebug,group,groupCollapsed,groupEnd,info,log,memoryProfile,memoryProfileEnd,profile,profileEnd,table,time,timeEnd,timeStamp,trace,warn".split(","),b;b=d.pop();)a[b]=a[b]||c})(function(){try{return console.log(),window.console}catch(a){return window.console={}}}());
[apply]
[apply] Missing semicolon. (line: 2, character: 265)
[apply] > (function(a){function c(){}for(var d="assert,clear,count,debug,dir,dirxml,error,exception,firebug,group,groupCollapsed,groupEnd,info,log,memoryProfile,memoryProfileEnd,profile,profileEnd,table,time,timeEnd,timeStamp,trace,warn".split(","),b;b=d.pop();)a[b]=a[b]||c})(function(){try{return console.log(),window.console}catch(a){return window.console={}}}());
[apply]
[apply] Missing semicolon. (line: 2, character: 303)
[apply] > (function(a){function c(){}for(var d="assert,clear,count,debug,dir,dirxml,error,exception,firebug,group,groupCollapsed,groupEnd,info,log,memoryProfile,memoryProfileEnd,profile,profileEnd,table,time,timeEnd,timeStamp,trace,warn".split(","),b;b=d.pop();)a[b]=a[b]||c})(function(){try{return console.log(),window.console}catch(a){return window.console={}}}());
[apply]
[apply] Expected an identifier and instead saw ','. (line: 2, character: 303)
[apply] > (function(a){function c(){}for(var d="assert,clear,count,debug,dir,dirxml,error,exception,firebug,group,groupCollapsed,groupEnd,info,log,memoryProfile,memoryProfileEnd,profile,profileEnd,table,time,timeEnd,timeStamp,trace,warn".split(","),b;b=d.pop();)a[b]=a[b]||c})(function(){try{return console.log(),window.console}catch(a){return window.console={}}}());
[apply]
[apply] Stopping, unable to continue. (66% scanned). (line: 2, character: 303)
[apply] >
[apply]