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: 584
  • 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

It seems JSLint cannot check an HTML document if there is an HTML comment at the beginning of the document. Can this be fixed or is there a way around it? For...
7 Feb 1, 2012
10:12 pm

Sean Kelly
seank_com
Send Email

The option.type has been renamed as option.confusion. The option.type will continue to work for a short time. JSLint's type inference is now looking at...
2 Jan 27, 2012
6:48 pm

douglascrockford
douglascrock...
Send Email

Good morning, Your problem seems to be your insistence on declaring a function inside a function call. This is much better (from a readability perspective): ...
7 Jan 23, 2012
4:09 pm

caerusx
Send Email

Hi I'm new to javascript, but I have a solid C/C++ background. One of reasons why I prefer C++ over C is because it stricter. I prefer to catch errors during...
3 Jan 23, 2012
4:00 pm

caerusx
Send Email

Hi There is some indentation strangeness. JSLint does not like properly indented text: /*global g */ /*jslint indent: 2 */ (function () { "use strict"; return...
4 Jan 23, 2012
8:57 am

caerusx
Send Email

Given the following example code: function test(x) { ~~~~'use strict'; ~~~~return x === 1 ? 'one' : ~~~~~~~~x === 2 ? 'two' : ~~~~~~~~~~~~x === 3 ? 'three&#39; : ...
8 Jan 18, 2012
8:57 pm

Marc Spoor
marc.spoor@...
Send Email

Dear Vendor, Please provide an update on ECCN for the product JSLint. Thanks, Sree OAI-sys, Application Development and Testing Tools Travelers Insurance. HPSM...
2 Jan 18, 2012
5:11 pm

douglascrockford
douglascrock...
Send Email

Porting this feature request over from Github issues: I don't know what your views are on modifying Object.prototype, but I'm sure you've heard all the...
5 Jan 7, 2012
8:53 am

Rob Richardson
erobrich@...
Send Email

Gentlemen, after setting JSLint loose on my code I find myself with some bugs corrected. However, as my project is set up in many separate script files, I have...
9 Jan 1, 2012
10:38 am

Toby Maxwell-Lyte
toby_maxwell...
Send Email

I have added a complexity measure to the function report. See http://en.wikipedia.org/wiki/Cyclomatic_complexity This is an experimental feature. I am not...
6 Dec 22, 2011
6:56 pm

douglascrockford
douglascrock...
Send Email

An unused argument in an argument list should not be reported as an 'unused variable' if there are more arguments in the argument list. It is not unused, it...
5 Dec 22, 2011
6:55 pm

Rob Richardson
erobrich@...
Send Email

Well all is in the title :) Thanks for your help -- Jérôme Despatis jerome@......
3 Dec 21, 2011
7:36 pm

sandyhead25
Send Email

CouchDB uses an attribute named _rev to identify document revisions. var revision = doc["_rev";]; gets me: ['_rev&#39;] is better written in dot notation. var...
2 Dec 19, 2011
4:59 pm

Michael S. Mikowski
z_mikowski
Send Email

JSLint now checks that the names of options in the /*jslint*/ directive are now spelled correctly. It used to ignore misspelled or unknown options....
1 Dec 9, 2011
6:11 pm

douglascrockford
douglascrock...
Send Email

I am no longer able to upgrade to JSLint to pick up bug fixes and new features because of these two rules: - "this" can't be used in named functions. I...
22 Dec 5, 2011
9:31 pm

Rob Richardson
erobrich@...
Send Email

I am attempting to write a automatic semicolon insertion mechanism into my custom fork of Frank Marcia's JavaScript port jsmin when I encountered some strange...
1 Dec 1, 2011
9:08 pm

sandyhead25
Send Email

Maybe I'm missing something. When I enable "Tolerate many var statements per function" I still get errors for failing to have just one var at the top of the...
2 Nov 19, 2011
9:27 am

Luke Page
page.luke...
Send Email

(I apologize for the multiple posts - I did not know I could send good old plain text) Are JSLint indentation rules documented anywhere? (in particular rules...
3 Nov 16, 2011
6:29 am

Doc Emmett Splendid
emmett.thesane
Send Email

The formatted tests can be found at the following link: http://pastebin.com/NAsaH1V7...
1 Nov 16, 2011
4:29 am

Pierre Martineau
pierremartineau
Send Email

I recent debugged some code that followed this pattern: var a, b, c; a === b = c; When executed, this results in a syntax error, due to invalid left-hand side...
2 Nov 3, 2011
7:11 pm

Douglas Crockford
douglascrock...
Send Email

YUI App framework introduces templates. For instance, <script id="basket-template" type="text/x-template"> <div class="yui3-g" id="bd"> <div class="yui3-u"...
1 Oct 27, 2011
5:10 pm

IceBox
santini.alberto
Send Email

Consider the following code. var a = function () { "use strict"; var b = [], c = b.length, d = 0; for (; d < c; d += 1) { return ""; } }; The point of...
2 Oct 25, 2011
8:45 pm

Douglas Crockford
douglascrock...
Send Email

var fred; if (!fred) { fred = {}; } var FRED; if (!FRED) { FRED = {}; } var JSON; if (!JSON) { JSON = {}; } Error: Problem at line 13 character 5: Read only. ...
2 Oct 14, 2011
1:26 pm

Douglas Crockford
douglascrock...
Send Email

Is it possible to ADSAFE the contents of an iframe src=http://some-random-site.com/? Rob...
3 Oct 11, 2011
7:55 pm

Rob Richardson
erobrich@...
Send Email

Some here may be interested in this. I've integrated JSLint into CSE HTML Validator v11 (for Windows). There's currently a free BETA available here: ...
1 Oct 11, 2011
5:08 pm

cse_html_validator
cse_html_val...
Send Email

Reduced to its simplest, this: <html> <head> <style> p { text-shadow: 0 0 2px rgba(255, 255, 255, 0.6); } </style> </head> </html> Produces: Problem at line 5...
2 Oct 9, 2011
5:30 am

Douglas Crockford
douglascrock...
Send Email

I have the following code: var id = +/\d+/.exec(rId)[0]; and get the following error: Problem at line 240 character 24: Unexpected '\&#39;. The code is valid so it...
3 Oct 8, 2011
9:52 pm

Merlin
harry152566
Send Email

I have 2 questions. 1. Is there a JSLint option to tolerate variable assignments in if statements? If so, which one? 2. Why should we 'Move the invocation into...
2 Oct 8, 2011
3:59 pm

Merlin
harry152566
Send Email

I have the following code:var dateStr;dateStr = day + month + this.padStr(date.getDate()) + " " +date.getFullYear() + " " + this.padStr(date.getHours())+ ":" +...
5 Oct 8, 2011
3:13 pm

Merlin
harry152566
Send Email

I've been using JSLint for a bit now, and I have noticed that often there are error messages where I wonder why JSLint is complaining about it.. I'm wondering...
18 Sep 30, 2011
7:12 pm

paulcrowder1979
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