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

2631Re: JSLint errors wiki?

Expand Messages
  • tom.haggie@sap.com
    Sep 26 10:53 AM
    • 0 Attachment
      There's an option to say I don't care about whitespace it should honour it.

      In most production systems the js code is processed by minification before it gets deployed, these checks are just more work for no value for people who work in such an environment.

      -*TOM*-

      --- In jslint_com@yahoogroups.com, Jordan Harband <ljharb@...> wrote:
      >
      > Comments serve a purpose, trailing whitespace does not.
      >
      > If you avoid ASI by properly using semicolons, I doubt trailing whitespace will break your code, even with minification. However, it is still useless and unnecessary, and that should be regarded equally as repulsive as broken code.
      >
      > On Sep 26, 2011, at 9:01 AM, urangatang@... wrote:
      >
      > > The same could be said about comments.
      > >
      > > Has anyone come across an error caused by spaces on a blank line in JavaScript?
      > >
      > > --- In jslint_com@yahoogroups.com, Jordan Harband <ljharb@> wrote:
      > > >
      > > > How are extra bytes in your file that serve no purpose and can easily be removed by most editors, pre-commit hooks, or a command line tool NOT a problem?
      > >
      > >
      >
      >
      >
      > [Non-text portions of this message have been removed]
      >
    • Show all 18 messages in this topic