prettier/src
Christopher Chedeau 58194e5375 Fix empty lines with comments between switch cases (#1709)
The function isPreviousLineEmpty comment doesn't skip comments (on purpose, see comment above that method :P) so the detection is messed up. Turns out, it's easier to just use isNextLineEmpty like everywhere else.

Fixes #1708
2017-05-24 13:20:05 -07:00
..
ast-types.js [WIP] add TSNamespaceExportDeclaration (#1459) 2017-05-01 09:25:49 -07:00
clean-ast.js Initial CSS support (#1636) 2017-05-24 10:52:12 -07:00
comments.js Fix comments inside of template literals (#1713) 2017-05-24 13:19:56 -07:00
deprecated.js Run prettier on 0.13.0 (#497) 2017-01-28 07:50:22 -08:00
doc-builders.js Add `--range-start` and `--range-end` options to format only parts of the input (#1609) 2017-05-21 10:14:13 -07:00
doc-debug.js Add `lint` script, run it on Travis, prettify source code (#1634) 2017-05-21 11:00:16 -07:00
doc-printer.js Improve ESLint setup and fix errors (#1656) 2017-05-21 12:11:09 -07:00
doc-utils.js Improve ESLint setup and fix errors (#1656) 2017-05-21 12:11:09 -07:00
fast-path.js Add parenthesis for as inside of class extends (#1699) 2017-05-23 18:39:01 -07:00
options.js Add `--range-start` and `--range-end` options to format only parts of the input (#1609) 2017-05-21 10:14:13 -07:00
parser.js Initial CSS support (#1636) 2017-05-24 10:52:12 -07:00
printer.js Fix empty lines with comments between switch cases (#1709) 2017-05-24 13:20:05 -07:00
typescript-ast-nodes.js Add support for TSQualifiedType in ast-types (#1696) 2017-05-23 18:18:46 -07:00
util.js Initial CSS support (#1636) 2017-05-24 10:52:12 -07:00