Skip to search.

Breaking News Visit Yahoo! News for the latest.

×Close this window

jslint_com · This group has moved to Google Plus.

The Yahoo! Groups Product Blog

Check it out!

Group Information

  • Members: 583
  • Category: JavaScript
  • Founded: Mar 7, 2008
  • Language: English
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Message search is now enhanced, find messages faster. Take it for a spin.

Messages

Advanced
Messages Help
  Newest  |  < Newer  |  Older >  |  Oldest
Topics Messages Latest Post

Douglas, I appreciate your diligence in keeping the list up-to-date with the latest changes as you deploy them. Is there any chance that you could be persuaded...
1 May 3, 2009
8:37 am

Mike West
mikewest_y
Send Email

The /*jslint */ comment can now specify the indent....
1 May 1, 2009
9:36 pm

Douglas Crockford
douglascrock...
Send Email

The latest (very much simplified) version (8.0) of Widget Tester is at http://tinyurl.com/5unocx . This incorporates JSLint of 2009-03-28. Widget Tester...
8 May 1, 2009
12:09 pm

Merlin
harry152566
Send Email

Run the following code in JSLint: <html> <head> <style type="text/css"> div { /**/ } </style> </head> </html> Note the (incorrect) errors that come up: ...
2 Apr 30, 2009
5:58 pm

Douglas Crockford
douglascrock...
Send Email

Are there any (Windows platform) javascript-aware editors (syntax highlighting) out there that auto-format for jslint (such as proper indenting, automatic...
3 Apr 30, 2009
4:15 pm

pauanyu
Send Email

Hi, In my opinion ”var z = x = ”test”;” is bad programming style which can mask several errors. I’m glad that JSLint will warn me if I accidentally...
1 Apr 28, 2009
10:59 am

Jakob Kruse
thekrucible
Send Email

I was code reviewing some code, which is similar to the structure below: var x = { "y" : "not test"}; var z = x.y = "test"; It gets several errors, and the...
3 Apr 28, 2009
8:43 am

Stepan Reznikov
stepan.reznikov
Send Email

I added the JSON object to the list of objects that are provided by the standard, in anticipation of the next edition of the ECMAScript standard....
4 Apr 27, 2009
8:31 pm

Douglas Crockford
douglascrock...
Send Email

JSLint produces "Unexpected space" errors for the following: var myArray = [ 1 , 2 , 3 ]; Shouldn't having "Tolerate sloppy line breaking" on allow for this?...
2 Apr 25, 2009
9:43 pm

Douglas Crockford
douglascrock...
Send Email

I'm happy to announce an update to the JSLint Multi widget. The new widget has been submitted to Yahoo Widget Gallery, but they update very slowly, so for now,...
1 Apr 21, 2009
9:21 pm

Jakob Kruse
thekrucible
Send Email

Hi, I don't know what I have done differently, but last time I checked my document I didn't get this error. I have only made slight modifications since, so...
4 Apr 20, 2009
2:52 pm

mnewton32@...
mnewton32
Send Email

I added an edition member to the JSLINT global function. It contains a string identifying the current edition....
1 Apr 19, 2009
8:59 pm

Douglas Crockford
douglascrock...
Send Email

In this example: var getObjLength = function(obj) { var objLength = 0, key = ''; for (key in obj) { objLength++; } return objLength; }; The key variable is not...
4 Apr 18, 2009
5:55 am

Douglas Crockford
douglascrock...
Send Email

Hi What’s the rationale behind issuing a line breaking error for code like this: var x = somefunc( param1, param2 ); But not for code like this: var x = { ...
2 Apr 17, 2009
3:15 am

Douglas Crockford
douglascrock...
Send Email

It's here: http://code.google.com/p/jslint-dashboard/ I don't expect to update it with every change to JSLint, but it will be updated every few months at...
2 Apr 2, 2009
7:38 am

Fred Lorrain
grumelo68
Send Email

I have added a new immed option. When it is true, immediate function invocations must be wrapped in parens. So foo = function () {} (); // warning foo =...
1 Mar 24, 2009
6:42 pm

Douglas Crockford
douglascrock...
Send Email

I have seen a lot of confusion around use of immediate invocation of functions. I think JSLint can help if we can insist on some specific styling. I am...
7 Mar 24, 2009
5:35 pm

Frederick Staats
frederickstaats
Send Email

Douglas, Do you keep change logs and/or release notes between versions of JSLint? This would be nice to post next to the documentation link on...
3 Mar 24, 2009
5:25 pm

Frederick Staats
frederickstaats
Send Email

If I have such kind of code try { something } catch (e) {} Means I don't care about e, I will not use it. Unfortunately I have to write catch(e) because catch...
2 Mar 23, 2009
10:22 pm

Douglas Crockford
douglascrock...
Send Email

It would be cool if it were possible to surpress warnings/errors that originate form a certain line. For example, occasionaly I conciously use an unfiltered...
4 Mar 13, 2009
8:20 pm

Douglas Crockford
douglascrock...
Send Email

A robust coding style demands that symbols should be declared before they are used. But how is this possible in the case of mutually recursive functions? If...
4 Mar 11, 2009
2:00 pm

Alexandre Morgaut
morgaut_a
Send Email

I find the requirement for using braces excessively anal in such if compounds as: if (/*expression*/) {/*single statement*/} else {/*single statement*/} Is...
6 Mar 7, 2009
2:43 pm

Douglas Crockford
douglascrock...
Send Email

Part of my project uses a statement like the following: var b = new Array(a.length); but jslint complains: Use the array literal notation []. My theory here is...
5 Mar 7, 2009
12:53 am

Stoyan Stefanov
ssttoobg
Send Email

It seems that using a variable named "constructor&quot; that is not declared (which in itself is wrong off course) always produces a strange error. The rhino...
4 Mar 5, 2009
8:17 pm

santini.alberto
Send Email

I suggest to pilot the indentation as jslint option: For instance, /*jslint indent: 2 */ If I lint source files with different code styling, I can write the ...
1 Feb 5, 2009
5:26 pm

santini.alberto
Send Email

So, what changed? Is there some way besides looking at posts on this group to find the answer to this question?...
2 Jan 23, 2009
4:02 pm

Douglas Crockford
douglascrock...
Send Email

Here are two javascript mistakes I have recently made which jslint might be able to check for: 1. using the same variable in two nested loops var i; for (i =...
1 Jan 21, 2009
9:16 pm

James Clark
sbj@...
Send Email

The current version of JSlint (at least on Rhino) exits with code 1 if it cannot read the file and 0 otherwise. If it instead would exit with 0 only if the...
6 Jan 17, 2009
12:32 am

dom@...
happygiraffe...
Send Email

var arr = []; for(var i, b; b=arr[i] ; i++){ } //---------- according to : http://userjs.org/help/tutorials/efficient-code#fastloops its fully legit to make an...
10 Jan 16, 2009
4:48 pm

Philip Hutchison
pipwerks
Send Email

The current version of JSlint (at least on Rhino) only reads the Javascript from an existing file. If it could also optionally read from standard-input, I...
4 Jan 14, 2009
8:52 pm

Douglas Crockford
douglascrock...
Send Email
  Newest  |  < Newer  |  Older >  |  Oldest
Add to My Yahoo!      XML What's This?

Copyright © 2010 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines NEW - Help