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

The last few versions [the last couple of days] of jslint have been complaining about a Strict violation for every reference to this in my scripts. Is there an...
6 Aug 17, 2011
8:49 am

Marcos Zanona
marcos.zanona
Send Email

var getGroupId = function (group) { /*jslint regexp:true*/ return group.name.replace(/<.+?>|\W/g, '').toLowerCase(); /*jslint regexp:false*/ }; This throws an...
2 Aug 16, 2011
4:45 pm

Douglas Crockford
douglascrock...
Send Email

This code fails because strict mode prohibits function declarations in conditional blocks like "switch" and "if" statements, but JSLint doesn't catch this....
2 Aug 16, 2011
4:39 pm

Douglas Crockford
douglascrock...
Send Email

I am having a problem with the latest version of JSLint. Environment: Windows XP Pro SP4; FF5.0; jslint.com Edition 2011-08-05 I am getting: Problem at line...
1 Aug 6, 2011
10:37 pm

Phil
druid_rpg
Send Email

I just grabbed the latest jslint (8/3/11) and suddenly its complaining that using "this" is a constructor is a strict violation. I searched around a bit but...
2 Aug 5, 2011
10:58 pm

Douglas Crockford
douglascrock...
Send Email

When I submit the following contrived snippet to JSLint, I get the error: Problem at line 4 character 12: Expected 'j' at column 9, not column 12. Here's the...
16 Aug 5, 2011
12:33 pm

R. Mark Volkmann
mark_volkmann
Send Email

Should I be able to run the latest version of jslint.js that is in GitHub using Rhino? I'm trying to run it like the following, but don't get any output when I...
1 Aug 4, 2011
2:19 am

Mark Volkmann
mark_volkmann
Send Email

I'm trying to use JSLint to check code that uses the Express module of Node.js. It uses the variable __dirname. Is there an option for JSLint that would allow...
6 Aug 3, 2011
11:33 pm

Martin Cooper
mfncooper
Send Email

Is there a reason why jslint doesn't approve of the CSS border-style value "groove"? It complains about a line like this: border-style: groove; -- R. Mark...
2 Aug 3, 2011
10:23 pm

Douglas Crockford
douglascrock...
Send Email

I use a specific indentation that is incompatible with jslint but I really love the "white" option, so I suggest this for people that is in the same situation....
1 Aug 2, 2011
12:25 am

bartman1c
Send Email

When running the lint using cscript.exe on Windows, is there a way to pass in options as a command argument to cscript? I hope so... and if so, how would this...
2 Jul 27, 2011
4:50 pm

cse_html_validator
cse_html_val...
Send Email

JSLint supports var statement indenting in a variety of ways (see fn1, fn2, and fn3). Would you consider adding support for the method as shown by fn4? For ...
1 Jul 26, 2011
1:03 am

Erik Eckhardt
vorpalmage
Send Email

JSLint does not give any warning about the following (repeating a var declaration in the global scope). var fn = function () { //something here }; var fn =...
1 Jul 26, 2011
12:55 am

Erik Eckhardt
vorpalmage
Send Email

Is anyone still using comma expressions in the control part of for statements? I think this is a bad practice, but JSLint currently tolerates it....
33 Jul 21, 2011
6:15 pm

Douglas Crockford
douglascrock...
Send Email

Hello, I come back again an a problem I don't understand well: I'm testing this function on jslint.com: function test(data, args) { "use strict"; var b = data;...
2 Jul 21, 2011
1:37 pm

Douglas Crockford
douglascrock...
Send Email

Hello ... @charset "UTF-8"; #djDojoPreloader { background: #fff url('../images/loading.gif') no-repeat center center; } ... But I get the error: /Error:/ ...
2 Jul 21, 2011
1:17 pm

Douglas Crockford
douglascrock...
Send Email

window.location.href = window.location.href; is a standard web programming technique to reload the page WITHOUT re-POSTing the form. But JSLint says "Weird...
1 Jul 20, 2011
1:45 pm

thefsb
Send Email

I just saw in a small jQuery plugin I was borrowing for my own use: function checkUndefined(a) { return typeof a === 'undefined&#39;; }; if (checkUndefined(data))...
9 Jul 19, 2011
6:38 pm

Douglas Crockford
douglascrock...
Send Email

Douglas, I started using the /*properties */ directive and like what it does, though it's making some things a little labor-intensive. 1. It would be very nice...
1 Jul 19, 2011
12:28 am

Erik Eckhardt
vorpalmage
Send Email

JSLint doesn't like the CSS src property when used in a @font-face at-rule. For example, @font-face { font-family: Quicksand; src:...
3 Jul 18, 2011
11:49 pm

Mark Volkmann
mark_volkmann
Send Email

Is there any plan to allow .css files that contain CSS3 properties like border-radius to pass jslint? -- R. Mark Volkmann Object Computing, Inc....
4 Jul 18, 2011
6:48 pm

Douglas Crockford
douglascrock...
Send Email

I'm using a library expects a callback function with certain parameters. I only am interested in the second parameter, but must have an unused first parameter....
3 Jul 15, 2011
11:50 pm

Erik Eckhardt
vorpalmage
Send Email

Here is a little script where JSLint throws an error, it's valid js for me: Problem at line 4 character 5: Expected an identifier and instead saw 'with'. with...
4 Jul 15, 2011
1:24 pm

Douglas Crockford
douglascrock...
Send Email

Validating the following fragment: <html> <head> <title>Test</title> <style type="text/css"> @media print { .noprint {display: none; } } </style> </head> ...
3 Jul 15, 2011
12:46 pm

Owen
eclipsechasers2
Send Email

'use strict'; function test() { return 2 + 2;} with node: false Error: Problem at line 1 character 1: Use the function form of 'use strict'. 'use strict'; with...
4 Jul 14, 2011
7:54 pm

Marcos Zanona
marcos.zanona
Send Email

After reading your article<http://www.yuiblog.com/blog/2010/12/14/strict-mode-is-coming-to-town/> I could understand that it is be possible to use both sloppy...
2 Jul 14, 2011
6:10 pm

Douglas Crockford
douglascrock...
Send Email

Hello Is there a chance to see a new option "Assume dojo", as we can already see for node.js, Rhino... ? This option could define custom /*properties */ etc......
3 Jul 13, 2011
2:14 pm

Jérôme DESPATIS
jdespatis
Send Email

Hello, I'm testing JSLint on some css, it says the css must begin with @charset 'UTF-8&#39;; So I add it, no more error with JSLint But when I validate this css to...
2 Jul 13, 2011
1:20 pm

Douglas Crockford
douglascrock...
Send Email

Hello Again on my dojo script, I'd like to prefill the /*properties */ in order to avoid type confusion error on some dojo functions For example in a script...
2 Jul 13, 2011
1:16 pm

Douglas Crockford
douglascrock...
Send Email

Hello.I use JsLint a lot from now on.Let the group participate by all means.Thanking you in advance. [Non-text portions of this message have been removed]...
1 Jul 8, 2011
2:08 pm

syunasu2@...
syunasu2
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