Loading ...
Sorry, an error occurred while loading the content.

Re: [jslint] The "continue" vote.

Expand Messages
  • pauanyu
    ... I believe he was referring to a new program, separate from JSLint, and not JSLint itself. Note how he said JSUnLint as opposed to JSLint .
    Message 1 of 8 , Jun 22, 2009
    • 0 Attachment
      --- In jslint_com@yahoogroups.com, "sandyhead25" <austin.cheney@...> wrote:
      >
      > There is a reason why the YUI compressor is in Java and is not available in JavaScript. It adds curly braces to conditions which do not have them and it adds semicolons where they should be. This is the only way to get really crappy JavaScript minified to a single line.
      >
      > JSMin, however does not add semicolons or curly braces. It, instead, preserves line breaks where semicolons should be but are missing. I have attempted to write my own semicolon insertion mechanism and it is so incredibly slow even the code to accomplish this is relatively small. Adding such functionality to JSLint would make JSLint 5-6 times slower at least.
      >
      > JSLint should never be allowed to write your code for you. This defeats the purpose of JSLint, which is to display errors and encourage best practices.
      >

      I believe he was referring to a new program, separate from JSLint, and not JSLint itself.

      Note how he said "JSUnLint" as opposed to "JSLint".
    Your message has been successfully submitted and would be delivered to recipients shortly.