Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Commits on Apr 22, 2015
Commits on Apr 10, 2015
  1. support indent.AlignComments and indent.alignComments for realz

    will deprecate the PascalCase during v1.0 but keeping it since users might be
    using it already.
  2. rename indent.AlignComments to indent.alignComments for consistency

    support both styles for now but plan to deprecate AlignComments in the future.
Commits on Apr 9, 2015
  1. add --diff flags and replace optimist with minimist. closes #292

     - simplify the way errors are logged.
     - use exitCode instead of hasError since it's more flexible.
     - keep cli documentation on a external file to make it easier to update.
    closes #304
Commits on Apr 7, 2015
  1. indent UnaryExpression by default if inside AssignmentExpression, Cal…

    …lExpression, ObjectExpression and VariableDeclaration. fixes #306
Commits on Apr 2, 2015
Commits on Mar 31, 2015
  1. better error messages and avoids terminating the process on first err…

    …or. fixes #303
    when formatting multiple files at once (specially with the -i flag) it should
    try to format as many files as possible and output error messages for each
    invalid file.
    we also display each error on a single line and starts message with "Error:" to
    make it easier to parse the output with other tools (eg. grep)
Commits on Mar 27, 2015
  1. 0.6.1

  2. update changelog

Commits on Mar 26, 2015
  1. 0.6.0

  2. update changelog

  3. change comment indentation behavior to match next/prev code block bas…

    …ed on context. fixes #209. fixes #270.
    moved most of the logic into rocambole-indent and added `indent.AlignComments`
    and `indent.CommentInsideEmptyBlock` to toggle the beahvior when needed.
    closes #282
Commits on Mar 25, 2015
Commits on Mar 24, 2015
Something went wrong with that request. Please try again.