Loading ...
Sorry, an error occurred while loading the content.
Advanced Search
Author
Subject
Message
Special notice only

14 results from messages in jslint_com

Advanced Search
  • Does this mean anything for the CSS parser? Any plans to refine JSLint down to JavaScript / JSON only? --- In jslint_com@^$1, "douglascrockford" wrote: > > When I began JSLint in 2001, the usual practice in web applications was to include inline scripts and event handlers in HTML. So JSLint includes an HTML parser so that it can locate and inspect the embedded scripts. > > Since...
    benquarmby Mar 16, 2013
  • This is not official, so your mileage may vary, but there is a project to provide some background for JSLint's rules - http://jslinterrors.com/ Although DC is right... you should have followed JSLint's advice either way :P --- In jslint_com@^$1, "Robert" wrote: > > Having just gotten bitten by this and not realizing the implications, could we have the message: > > Missing radix...
    benquarmby Feb 27, 2013
  • Awesome. Our shop has just upgraded to 2012, so it looks like its business as usual :) --- In jslint_com@^$1, Luke Page wrote: > > The vs 2008 plugin uses wsh but I wrote the plugins for 2010 and 2012 and > those use v8 wrapped in c#. > On 22 Feb 2013 02:28, "benquarmby" wrote: > > > ** > > > > Understandable requirement. > > > > I guess the authors of the Visual Studio plugin...
    benquarmby Feb 22, 2013
  • Fetching Sponsored Content...
  • Understandable requirement. I guess the authors of the Visual Studio plugin (which we use in our dev workflow) will need to figure out another way to run JSLint. It currently uses WSH. --- In jslint_com@^$1, "douglascrockford" wrote: > > JSLint now requires an ECMAScript Fifth Edition engine to run. It will continue to evaluate programs written for ES3 or ES5. >
    benquarmby Feb 21, 2013
  • Hi Steve, I think I know what you're talking about, but the whitespace didn't come through properly in your examples. You may wan to retype your example with tilde (~) for spaces and ensure the line breaks stick. Cheers Ben --- In jslint_com@^$1, "paperlampshade" wrote: > > Hi, > I have a question about Switch Case style as verified in jslint.A switch > case written as below (case...
    benquarmby Feb 1, 2013
  • Hey Tom, That TXJS11 talk was great wasn't it! http://vimeo.com/25606006 If you can switch off the emotional side of your brain, the logic is very hard to refute. There are whole classes of errors you will never see when using JSLint. It improves the odds of success, and in terms of QA and support costs, those odds are measured in dollars. As far as style goes, I also recommend...
    benquarmby Sep 2, 2012
  • That sounds like good advice. Like you say though, difficult to verify. Would you analyze the contents of the string, or the subject of the assignment? Something else? Without a reliable way to verify the intention of a string, applying the same advice you give for tabs vs. spaces seems preferable - Pick one and use it consistently. That advice would also prevent cowboy developers...
    benquarmby Jul 3, 2012
  • While I'm not sure anyone would consider mixing single and double quotes to be an error (or look like an error, or be more error prone), mixing them does reduce maintainability in my experience. To that end, I'd love to see a warning for mixed double and single quotes in a similar way to mixed spaces and tabs but across a whole code file. I'm not sure I'd go so far as to enforce...
    benquarmby Jul 1, 2012
  • Doug, I don't have a problem with this option, but I would like to suggest a stricter implementation of it's behavior. Instead of broadly catching the substring "Sync", limit it to catch functions that *end* with "Sync", since all blocking Node methods appear use this convention. Matching the end will also stop it catching false positives. For example, the completion event handler...
    benquarmby Jun 20, 2012
  • Thanks for the reply. Of course you're right (an annoying habit). Do you have a suggestion on creating callback / handler functions like this that don't look like errors? (Other than "don't use stupid APIs" that is :) What do you think of this? http://tech.groups.yahoo.com/group/jslint_com/message/2863 --- In jslint_com@^$1, "douglascrockford" wrote: > > --- In jslint_com@^$2...
    benquarmby Apr 30, 2012