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

2899Re: [jslint] Re: Request for warning on TODOs

Expand Messages
  • Martin Cooper
    May 31 7:22 PM
      On Thu, May 31, 2012 at 6:43 PM, Michael S. Mikowski
      <z_mikowski@...> wrote:
      > If you are using web storm or perhaps other ide (like vim with syntax) its already highlighted. As much as I love jslint, I feel this is beyond its original intent and redundant with other tools.  For the same reason I do not use jslint's style checking.

      I agree, a linting tool should stick to static analysis of the code.
      It shouldn't be trying to interpret my comments. That would be
      overreaching, IMO. There are other tools that will point out to-do
      items, manage your doc comments, verify copyright notices, etc. And
      even if you don't have any other tools, plain old grep does a fine job
      of locating to-do comments and showing you file and line.

      Martin Cooper

      > $0.02 - mike
      > douglascrockford <douglas@...> wrote:
      >>--- In jslint_com@yahoogroups.com, Luke Page <luke.a.page@...> wrote:
      >>> Not sure if anyone has requested this before, but a common cause of
      >>> bugs and even more often, maintainence issues, arise because a
      >>> programmer thinks of a situation/bug and then writes a comment with
      >>> TODO and then never addresses it.
      >>> I would like it if this was a non-blocking warning in jslint - at the
      >>> moment I have an extension that runs a regex to try and find them.
      >>> What do you think? Is the use of comments with "TODO" in it a common
      >>> enough coding pattern?
      >>If I do this, I will dictate the format of the TODO directive, and I will tolerate no whining about it. Is that agreeable?
      > ------------------------------------
      > Yahoo! Groups Links
    • Show all 7 messages in this topic