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

2622Re: JSLint errors wiki?

Expand Messages
  • sandyhead25
    Sep 22, 2011
    • 0 Attachment

      I am sure the community would love you if you set this up for us. You can start here: http://www.jslint.com/msgs.html


      --- In jslint_com@yahoogroups.com, Robert Ferney <capnregex@...> wrote:
      > I've been using JSLint for a bit now, and I have noticed that often
      > there are error messages where I wonder why JSLint is complaining
      > about it..
      > I'm wondering if it would be possible to have a wiki or something
      > where the error would have a link to the wiki that would have a more
      > detailed explanation as to why JSLint is complaining about this, what
      > makes it important, and what to do about it.
      > To take a recent example..
      > whitespace at the end of a line..
      > why should we care?
      > Does it cause some JavaScript engines to interpret the code differently?
      > if so, which ones?
      > Is it for readability? What are the pros and cons..
      > Is there an option to make JSLint not care?
      > So that when I see a new error pop up, I can click the link, and read
      > more about it.
      > Secondly, I find that there are some things that I do consistently,
      > that I wonder if there may not be some sort of filter to fix
      > automatically..
      > like forgetting the space between function and ().. or adding extra
      > space inside the () for an argument list, or not putting a space after
      > the , in an argument list..
      > Does anybody know a good filter that could be used before lint to
      > catch these things?
      > - Robert Ferney
    • Show all 18 messages in this topic