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...
Hear how Yahoo! Groups has changed the lives of others. Take me there.

Messages

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

JSLint doesn't like vendor extensions in pseudo-selectors, even with the `css` options toggled. I'm thinking specifically of `button:-moz-focus-inner`, which...
19 May 10, 2010
3:31 pm

Michael Mikowski
z_mikowski
Send Email

Hi Douglas, I've got an idea here. I don't know if you've already considered it, but you seem to have implemented this idea to some degree with locating...
1 Apr 26, 2010
8:32 pm

aceblchboy
Send Email

Is that possible? IMHO, curly braces all over the place, even where they are not needed, make readability worse. But that's my opinion, and I don't want to ...
2 Apr 25, 2010
9:29 pm

Douglas Crockford
douglascrock...
Send Email

I'm putting together a presentation to highlight the sort of bugs that JSLint can help you avoid, I guess this focuses on obvious bugs in code caused by things...
3 Apr 21, 2010
9:44 pm

g2223060
Send Email

I have some legacy JavaScript that I am trying to clean up, which of course involves heavy linting [;)] The code was all global, of course, which I have...
2 Apr 21, 2010
8:51 pm

Aseem Kishore
aseem.kishor...
Send Email

Hi I'm running a slightly modified jslint over a bunch of our javascript files and have noticed that if our code defines an array such as var a = new...
2 Apr 21, 2010
7:33 pm

Douglas Crockford
douglascrock...
Send Email

Hi Doug, I was curious as to why using "_" in identifiers (e.g. to convey that a function might be private as opposed to be publicly accessible) is considered...
1 Apr 20, 2010
5:09 pm

klaus
klaus_komenda
Send Email

There is a new option, Tolerate ES5 syntax. If you check this option, JSLint will accept the new get/set syntax in object literals. It will require that the...
12 Apr 7, 2010
2:32 pm

Michael Lorton
mlorton
Send Email

Chained functions are quite popular and offer some flexibility, with a sometimes lack of readability. Currently, JSLint will accept this as accurately...
6 Mar 31, 2010
10:49 pm

Michael Lorton
mlorton
Send Email

Hi Team JSLint, I understand the reluctance (or lack of time!) for jslint to officially support javascript getters and setters. And I was a bit too lazy to...
1 Mar 30, 2010
1:55 pm

nickgsuperstar
Send Email

Hi folks, I was wondering - should JSLint tolerate the use of the constructors Error, EvalError... etc. and RegExp when invoked without `new`. new...
1 Mar 29, 2010
7:13 am

Stoyan Stefanov
ssttoobg
Send Email

Why does JSLint complain when a function argument is used as variable in a for in loop? ex: (function () { var foo = function (bar) { var o = {}; for (bar in...
2 Mar 26, 2010
12:49 am

Douglas Crockford
douglascrock...
Send Email

How about a little lighthearted fun at the expense of our favorite guru? http://crockfordfacts.com/ My favorite fact so far: "Douglas Crockford's code works...
1 Mar 24, 2010
1:32 am

Arthur Blake
blakesys
Send Email

JSLint has a new option, Assume Windows. It predefines the following global variables: /*global ActiveXObject: false, CScript: false, Debug: false, Enumerator:...
2 Mar 23, 2010
3:58 pm

Harry Whitfield
harry152566
Send Email

Just came across some code which was overriding some functionality from the jquery datepicker. The code uses this construct: var a = b = c; which happens to...
2 Mar 23, 2010
1:54 pm

Douglas Crockford
douglascrock...
Send Email

I'd just like to report what appears to be a minor typo in the documentation. In http://www.jslint.com/fulljslint.js on line 121 it describes the section on...
1 Mar 23, 2010
1:09 pm

marc_hunter
Send Email

Hi When using the JSLint to check jscripts, why do I get an error messages for known and defined JScripts objects like 'ActiveXObject&#39;, 'Enumerator&#39; and for...
5 Mar 23, 2010
8:06 am

tzvikam@...
btm004
Send Email

Many languages allow a convenience in scripting that allows an && to be used as flow control. var foo = [1,2,3,4]; foo[0] && fop = foo.shift(); //assigns the...
12 Mar 18, 2010
12:21 pm

pauanyu
Send Email

Many browsers barf when an object key is a reserved word. Sure, they should be able to figure out that we are in an object.... But IE can't.Example: var foop...
10 Mar 18, 2010
12:44 am

Michael Mikowski
z_mikowski
Send Email

Hi, checking this HTML fails because of the + in type: <link rel="alternate" type="application/rss+xml"; title="" href="" /> (same with atom+xml) Without, the...
3 Mar 12, 2010
10:35 pm

walfisch_in_the_sea
walfisch_in_...
Send Email

Hi everybody, I was wondering how to define my root namespace in "strict format" Normally i use the following code: /*global YAHOO, MYNS */ if (!this.MYNS) { ...
2 Mar 12, 2010
7:09 pm

pauanyu
Send Email

Here is a lisp procedure that simply adds 'a' to the absolute value of 'b': (define (a-plus-abs-b a b) ((if (> b 0) + -) a b)) I think this is beautiful, and I...
1 Mar 9, 2010
10:42 pm

Matthew Taylor
mattspratt
Send Email

The code snippet below doesn't give any errors or warnings. But return with and without a value is used. Shouldn't that at least issue a warning? "use strict";...
7 Mar 8, 2010
8:02 pm

Douglas Crockford
douglascrock...
Send Email

+new Date() === new Date().getTime(); +new Date() returns a timestamp. Is this good style? Or should it be avoided?...
2 Mar 6, 2010
2:24 pm

Harry Whitfield
harry152566
Send Email

I wish JSLint had an option that would allow code like this: if (!someVariable) return; I understand the danger of allowing code without braces like: if...
14 Feb 24, 2010
6:00 pm

Michael Lorton
mlorton
Send Email

Not a JSLint question, but I know there are really knowledgeable JavaScript developers on this list ... Why can't I add methods to the prototype of the...
7 Feb 22, 2010
11:39 pm

Douglas Crockford
douglascrock...
Send Email

When I don't actually need the object instance, I enclose my "new Xxxx()" statements in parenthesis to keep JSLint happy and I assumed some JavaScript...
7 Feb 22, 2010
8:31 am

Satyam
satyamutsa
Send Email

Any idea how hard it would be/will be to add the ES5 setter/getter syntax to the parser? Example x = {get value(){return "foo";}};...
3 Feb 21, 2010
5:26 pm

Steven Parkes
smparkes...
Send Email

I have already defined YAHOO and YUI as accepted global variables but JSLint still warns me that "type is unnecessary" in <script> tags. I've seen the messages...
1 Feb 20, 2010
10:50 pm

Satyam
satyamutsa
Send Email

jslint doesn't expect to see new String, but I need it because I want to set a property of the string: var str = new String('somestring&#39;); str.id = 123; Or is...
15 Feb 19, 2010
6:04 pm

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