Comma first solves that perfectly, no need to jshint that ;D On Thursday, February 23, 2012 at 10:27 AM, cole gillespie wrote:
> one thing that i use it for mainly is to catch trailing commas of death -- IE > is a bitch. JSHint helps with checking for simple human errors. I agree with > TJ 100% > > On Thu, Feb 23, 2012 at 3:23 AM, tjholowaychuk <[email protected] > (mailto:[email protected])> wrote: > > use it for things that actually matter, like discovering unwanted > > global vars etc, but ignore all the style crap > > > > On Feb 22, 12:34 pm, "P. Douglas Reeder" <[email protected] > > (mailto:[email protected])> wrote: > > > @Douglas, have you compared it with JSHint? > > > > > > I've tried to configure JSLint to not throw errors, but it's too > > > finicky. I found it very easy to configure Miller's Javascript lint > > > to not returning spurious errors, and it catches additional real > > > errors like functions sometimes reurning a value and sometimes not, > > > and variables not being declared as local. > > > > > > I haven't tried JSHint -- it does sound more usable. Does it catch > > > all the errors that Miller's Javascript Lint does? > > > > > > On Feb 21, 6:25 am, Mark Volkmann <[email protected] > > > (mailto:[email protected])> wrote: > > > > > > > > > > > > > > > > > > > > > > > > > I understand you don't like JSLint, but in what way is it less useful > > > > for routine usage than any other lint tool? > > > > > > > --- > > > > R. Mark Volkmann > > > > Object Computing, Inc. > > > > > > > On Feb 20, 2012, at 10:58 PM, "P. Douglas Reeder" <[email protected] > > > > (mailto:[email protected])> wrote: > > > > > > > > Crockford's JSLint is designed for occasional use, to nudge > > > > > programmers toward better code. It's neither designed for nor works > > > > > well as a routine part of your toolchain. > > > > > > > > Miller's JavaScript Lint (http://www.javascriptlint.com/) is > > > > > configurable for your project's style, and is a part of my toolchain. > > > > > > > > -- > > > > > Job Board:http://jobs.nodejs.org/ > > > > > Posting > > > > > guidelines:https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines > > > > > You received this message because you are subscribed to the Google > > > > > Groups "nodejs" group. > > > > > To post to this group, send email [email protected] > > > > > (mailto:[email protected]) > > > > > To unsubscribe from this group, send email to > > > > >[email protected] > > > > >(mailto:nodejs%[email protected]) > > > > > For more options, visit this group at > > > > >http://groups.google.com/group/nodejs?hl=en?hl=en > > > > -- > > Job Board: http://jobs.nodejs.org/ > > Posting guidelines: > > https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines > > You received this message because you are subscribed to the Google > > Groups "nodejs" group. > > To post to this group, send email to [email protected] > > (mailto:[email protected]) > > To unsubscribe from this group, send email to > > [email protected] > > (mailto:nodejs%[email protected]) > > For more options, visit this group at > > http://groups.google.com/group/nodejs?hl=en?hl=en > > -- > Job Board: http://jobs.nodejs.org/ > Posting guidelines: > https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines > You received this message because you are subscribed to the Google > Groups "nodejs" group. > To post to this group, send email to [email protected] > (mailto:[email protected]) > To unsubscribe from this group, send email to > [email protected] > (mailto:[email protected]) > For more options, visit this group at > http://groups.google.com/group/nodejs?hl=en?hl=en -- Job Board: http://jobs.nodejs.org/ Posting guidelines: https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines You received this message because you are subscribed to the Google Groups "nodejs" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/nodejs?hl=en?hl=en
