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...
Real people. Real stories. See how Yahoo! Groups impacts members worldwide.

Messages

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

I have been using tabs in my JavaScript because that is the convention throughout the web application I am working on. The application includes PHP, ...
15 Mar 2, 2013
12:18 pm

Merlin
harry152566
Send Email

Having just gotten bitten by this and not realizing the implications, could we have the message: Missing radix parameter. changed to something more alarming...
3 Feb 27, 2013
8:30 pm

benquarmby
Send Email

I like to give my vars a value when I declare them, whenever that is possible. JsLint does not allow me to do that in one special case: function f(an_array) { ...
8 Feb 26, 2013
8:24 pm

Heinz Rasched
raschedh
Send Email

JSLint now requires an ECMAScript Fifth Edition engine to run. It will continue to evaluate programs written for ES3 or ES5....
5 Feb 23, 2013
12:25 am

benquarmby
Send Email

The experiment of using Yahoo Group's Database to manage JSLint configurations has not turned out well. So now I am going to try using Github's wiki. If you...
1 Feb 19, 2013
6:20 pm

douglascrockford
douglascrock...
Send Email

I have added an experimental context coloring feature to JSLint. It is intended to provide context coloring in text editors and IDEs. Context coloring gives a...
1 Feb 17, 2013
12:33 am

douglascrockford
douglascrock...
Send Email

Well, today I'm not in good shape, and I expected the following code to output just one zero. The code passes JSLint. /*jslint devel: true */ (function () { ...
8 Feb 7, 2013
9:50 am

Felix E. Klee
feklee
Send Email

Hi, I have a question about Switch Case style as verified in jslint.A switch case written as below (case statement starting on the line after the switch...
6 Feb 5, 2013
3:36 am

paperlampshade
Send Email

I understand why the following code generates the warning "Unexpected 'typeof&#39;. Use '===' to compare directly with undefined" var foo; if (typeof foo ===...
3 Jan 29, 2013
8:28 pm

andrew_wh
Send Email

I need to support user-supplied math functions. Are there any good alternatives to using eval, or, more likely, the Function constructor? I could write js code...
1 Jan 29, 2013
6:08 pm

firstbakingbook
Send Email

Hi, My colleague was linting this and getting an error var a = /<.+>[^]<.+>/; Unescaped '^'. He argued that [^] was a valid succinct way of saying "any...
13 Jan 19, 2013
10:27 pm

george_weilenmann
george_weile...
Send Email

Unexpected '*'. Rationale for acceptance: The * selector in CSS, also known as the universal selector, is useful for setting styling to the full array of...
4 Jan 15, 2013
6:59 am

george_weilenmann
george_weile...
Send Email

I’ve run into an error that is a bit strange to see. The <summary> tag is not allowed as it is unrecognized however the <details> tag is allowed. I’ve...
2 Jan 2, 2013
1:53 pm

douglascrockford
douglascrock...
Send Email

There appears to be a new rule that looks for unnecessary parenthesis, but this rule gets confused when wrapping regex: var mhtml = true, disqualify = (mhtml)...
3 Dec 28, 2012
4:01 am

sandyhead25
Send Email

Hi guys, I was coding and I noticed that I often make the same error from using reduce. e.g. var options = ['nocaps&#39;, 'evil', 'node', 'browser&#39;], ...
5 Nov 27, 2012
12:28 am

rodobrist
Send Email

The following code causes an error in internet explorer: var window; "SCRPT5039: Redeclaration of const property line 1 character 1" For us it would be useful...
3 Nov 20, 2012
7:26 am

Joe Hansche
joeatrr
Send Email

Is there a way to get JSLint to recognize new tags via an option? I have a customer who can't make as good use of JSLint in CSE HTML Validator because it is...
5 Nov 19, 2012
11:24 pm

cse_html_validator
cse_html_val...
Send Email

Does anyone still write HTML tags in upper case? I am thinking about removing the "Tolerate HTML case" option....
9 Nov 18, 2012
9:47 am

Felix E. Klee
feklee
Send Email

While using jslint on some html with inline script, I run into the following error: A '<script>' must be within '< body div frame head iframe p pre span >'. ...
3 Nov 18, 2012
6:48 am

Owen
eclipsechasers2
Send Email

I get the error 'Node' was used before it was defined. From the line: if (nodes[i].nodeType === Node.TEXT_NODE) { I do have the "Assume a browser" option on. I...
7 Oct 23, 2012
12:01 am

Joshua Bell
inexorabletash
Send Email

For the following code, JSLint returns "eval is evil.": /*jslint node: true */ 'use strict'; var client = require('redis').createClient(); ...
10 Oct 18, 2012
7:33 pm

Felix E. Klee
feklee
Send Email

That code gives a strict violation (due to presence of `this`): function f() { 'use strict'; return this.x; } That code doesn't: var f = function () { 'use...
14 Oct 18, 2012
4:35 pm

Felix E. Klee
feklee
Send Email

I have a statement in one of my functions: return serverInstanceId = response; JSLint flags it as: Expected ';' and instead saw '='. Unreachable '=' after...
10 Oct 5, 2012
7:22 pm

Tom Worster
thefsb
Send Email

/*global $ */ var $my_element = $('#myelementid'), $element_a = $('#elementaid&#39;), $element_b = $('#elementbid&#39;); $my_element.css( $element_a.width() +...
3 Oct 2, 2012
10:52 pm

bartman1c
Send Email

If I need to create an array with a specified length, and the length is a literal, JSLint is happy enough with this: var arr = new Array(50); If, however, the...
21 Oct 2, 2012
7:09 am

Joe Hansche
joeatrr
Send Email

I can understand how . and [^...] might be dangerous in a "match" regular expression, but in a replace I cannot see the harm in them. My typical example would...
9 Sep 26, 2012
4:36 pm

Joe Hansche
joeatrr
Send Email

On Mr Crockford's Remedial JavaScript page: http://javascript.crockford.com/remedial.html near the bottom, there is a little function called 'supplant&#39; that ...
3 Sep 21, 2012
1:38 pm

douglascrockford
douglascrock...
Send Email

I expect jslint to accept the following two-line code snippet, but instead it gives the error "Unexpected '['". What am I doing wrong? ===JSLINT INPUT=== var a...
4 Sep 18, 2012
2:48 pm

douglascrockford
douglascrock...
Send Email

Whilst reviewing some code, I spotted an unnecessary use of call and it stood out to me as a good candidate for a warning. The following code demonstrates the...
3 Sep 18, 2012
2:40 pm

Chris Price
chrisprice01...
Send Email

Erik Meijer talking about the hazards and other interesting things. http://channel9.msdn.com/posts/Erik-Meijer-Functional-Programming-From-First-Principles...
1 Sep 11, 2012
6:13 pm

douglascrockford
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