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

Re: SV: [jslint] Indentation option for tabs

Expand Messages
  • Jordan
    Yes, obviously I d only want to use 1 tab per level. I just checked turning on strict whitespace - and apparently at some point the option started working with
    Message 1 of 2 , Aug 22 12:07 PM
    • 0 Attachment
      Yes, obviously I'd only want to use 1 tab per level.

      I just checked turning on strict whitespace - and apparently at some point the option started working with tabs as well. So, thanks Douglas! and nevermind the question.

      --- In jslint_com@yahoogroups.com, "Jakob Kruse" <kruse@...> wrote:
      >
      > Surely, if you use tabs for indentation, there is absolutely no reason for using anything but one tab per indentation level. I haven't checked recently, but I believe JSLint will accept that.
      >
      > Once you start using two or more tabs per level, you've invalidated your own argument (the semantical meaning).
      >
      > /Jakob
      >
      >
      > Fra: jslint_com@yahoogroups.com [mailto:jslint_com@yahoogroups.com] På vegne af Jordan
      > Sendt: 22. august 2010 00:59
      > Til: jslint_com@yahoogroups.com
      > Emne: [jslint] Indentation option for tabs
      >
      >
      > It's great that JSLint lets me turn on strict whitespace, and set the number of spaces I want for indentation levels.
      >
      > However, I prefer to use something that semantically means intendation - tabs. (Not to start a tabs vs. spaces discussion, of course).
      >
      > Could you add an option so instead of spaces, the `indent` option refers to the number of tabs I want per indentation level? I've never been able to use the strict whitespace option because of this.
      >
      >
      > [Non-text portions of this message have been removed]
      >
    Your message has been successfully submitted and would be delivered to recipients shortly.