Isn't "use strict" better for that?

On Wed, Feb 22, 2012 at 9:23 PM, tjholowaychuk <[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]> 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]> 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]>
> 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]
> > > > 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
>
> --
> 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
>

-- 
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

Reply via email to