prettier v0.17.0 Release Notes

  • diff

    • ๐Ÿ›  [JSX] Fix spurious newline (fixes #614) (#628)
    • โž• Add --debug-check cli option (#627)
    • โœ‚ Remove last trailing line for directives-only files (#609)
    • Expand vim instructions
    • ๐Ÿ›  Fix formatting in readme
    • โšก๏ธ Update snapshots
    • Preserve empty line before last comment (#594)
    • ๐Ÿš€ test on current release of node.js (#595)
    • ๐Ÿ›  [JSX] jsx-whitespace breaks with parent (fixes #622) (#626)
    • โšก๏ธ Log filename with [update] or [ignore] flags during --write process. (#584)
    • Do not indent binary expressions inside of if (#604)
    • Put short elements at right of single binary expression on same line (#605)
    • โš™ Run prettier 0.16.0 on the codebase (#631)
    • Preserve blank lines inside of objects (#606)
    • ๐Ÿ›  fix typo in JetBrains External Tool config readme (#679)
    • ๐Ÿ›  Fix dangling comments for arrays (#665)
    • ๐Ÿ–จ Print line-suffix in --debug-print-doc (#676)
    • Avoid unneeded parenthesis for colon with comments (#673)
    • Stabilize comments inside of if/then/else before { (#672)
    • Soft break the first member of a chain (#667)
    • Stabilize comments inside of ternaries (#666)
    • ๐Ÿ›  Fix trailing commas with a trailing comment (#664)
    • ๐Ÿ›  Fix Flow union type annotations indentation (#650)
    • ๐Ÿ–จ Ensure that all comments are printed (#571)
    • ๐Ÿ‘ Properly support member chains comments (#668)
    • ๐Ÿšง [WIP] Fix Flow DeclareTypeAlias (#669)
    • โž• Add option for putting > on the last line in jsx (#661)
    • Always put a hardline before dangling comment (#675)
    • ๐Ÿ›  Fix comments in return statement argument (#657)
    • [RFC] Introduce prettier-ignore-next (#671)