Commit Graph

  • b27849def4 fix format Christopher Chedeau 2017-05-26 13:54:20 -0700
  • b11b89d2af Inline url() even if unquoted (#1752) Christopher Chedeau 2017-05-26 13:45:15 -0700
  • 2f6d12aaa8 Inline url('string') (#1751) Christopher Chedeau 2017-05-26 13:42:32 -0700
  • 48d9267dd5 Fix lint error Simon Lydell 2017-05-26 22:13:29 +0200
  • fe48638376 Don't pass too many arguments to functions (#1750) Simon Lydell 2017-05-26 22:01:03 +0200
  • f9e324c4d0 Add the ability for SequenceExpression to break (#1749) Christopher Chedeau 2017-05-26 12:29:00 -0700
  • 5f73ba29ed Add parens for expressions inside TSNonNullExpression (#1748) Christopher Chedeau 2017-05-26 12:03:27 -0700
  • 7486756dd6 Fix master Christopher Chedeau 2017-05-26 12:02:48 -0700
  • 5c462cc8e1 Remove ast-types (#1747) Christopher Chedeau 2017-05-26 11:54:43 -0700
  • 30857cd5fc Remove last call site of ast-types (#1746) Christopher Chedeau 2017-05-26 11:52:19 -0700
  • 27e9aed091 Remove ast-types from printer.js (#1745) Christopher Chedeau 2017-05-26 11:45:24 -0700
  • ba69e9fe22 Remove ast-types from comments traversal (#1744) Christopher Chedeau 2017-05-26 11:44:32 -0700
  • 7bd951652c Cleanup fast-path (#1743) Christopher Chedeau 2017-05-26 10:59:12 -0700
  • 06806068f6 Dedupe typescript-eslint-parser in yarn.lock (#1739) Simen Bekkhus 2017-05-26 16:47:45 +0200
  • 5e0fa00725 Upgrade typescript-eslint to 31ad3c (#1738) Christopher Chedeau 2017-05-25 19:04:15 -0700
  • 2e92e4e17d Update to flow 0.47 (#1736) Christopher Chedeau 2017-05-25 17:00:36 -0700
  • c8f255d6d5 Port a handful of heuristics we had to work on typescript nodes as well (#1735) Christopher Chedeau 2017-05-25 16:49:25 -0700
  • 267c6edaf5 Inline import type (#1729) Christopher Chedeau 2017-05-25 16:27:04 -0700
  • d06c46d045 Break on implements instead of extends (#1730) Christopher Chedeau 2017-05-25 16:26:56 -0700
  • ffc1b3702e Remove parenthesis for JSX inside of arrow functions (#1733) Christopher Chedeau 2017-05-25 16:26:49 -0700
  • fe49650700 Inline | null and | void (#1734) Christopher Chedeau 2017-05-25 16:26:40 -0700
  • 62679f20f0 Indent conditions inside of !() (#1731) Christopher Chedeau 2017-05-25 16:26:34 -0700
  • 198ba3c065 Force \n for multiple variable declarations (#1723) Christopher Chedeau 2017-05-25 16:26:26 -0700
  • 9a93822bbc Use the same breaking rules for assignment and object values (#1721) Christopher Chedeau 2017-05-24 18:19:15 -0700
  • 449bc41316 Use expandLast for nested arrow functions (#1720) Christopher Chedeau 2017-05-24 18:19:07 -0700
  • 9d7515907e Pass entire text through formatWithShebang() to format() (#1718) Joseph Frazier 2017-05-24 18:59:25 -0400
  • 7344a37b5c Enforce braces after `if`/etc (#1719) Joseph Frazier 2017-05-24 18:57:05 -0400
  • a6068c0532 Temporary fix comments inside of flow type spread (#1716) Christopher Chedeau 2017-05-24 15:21:30 -0700
  • 71a39d2512 Ignore docs/prettier.min.js when searching with ag/ripgrep/sift (#1717) Joseph Frazier 2017-05-24 18:21:21 -0400
  • 01b953c580 Saying "Coming soon" doesn't really help anyway Simon Lydell 2017-05-24 23:06:04 +0200
  • 4babc032cb Make it easier to find the WebStorm guide Simon Lydell 2017-05-24 22:59:55 +0200
  • 1f378b9755 Replace JetBrains with WebStorm in README.md (#1715) Dara Hak 2017-05-24 22:33:32 +0200
  • a53c609f8f Add .flowconfig (#1711) Christopher Chedeau 2017-05-24 13:20:25 -0700
  • 58194e5375 Fix empty lines with comments between switch cases (#1709) Christopher Chedeau 2017-05-24 13:20:05 -0700
  • 5a9bea1c2f Fix comments inside of template literals (#1713) Christopher Chedeau 2017-05-24 13:19:56 -0700
  • 5d3a750b92 Put JSX comments inside of the parenthesis (#1712) Christopher Chedeau 2017-05-24 13:19:47 -0700
  • 7f1006056e Indent based on whitespace only for templates (#1714) Christopher Chedeau 2017-05-24 13:19:34 -0700
  • 78ba808322 Initial CSS support (#1636) Christopher Chedeau 2017-05-24 10:52:12 -0700
  • 0adeadb16e Link to node-glob's "glob primer" Simon Lydell 2017-05-24 18:17:31 +0200
  • 09df0fbe15 Extract contributing guide into separate document (#1702) Michał Pierzchała 2017-05-24 17:32:20 +0200
  • 3a431d3fe7 Document --with-node-modules flag (#1701) Michał Pierzchała 2017-05-24 12:25:45 +0200
  • 1df1389764 Add parenthesis for as inside of class extends (#1699) Christopher Chedeau 2017-05-23 18:39:01 -0700
  • 7cd0b78fe7 Properly add parenthesis for as inside of binary expression (#1698) Christopher Chedeau 2017-05-23 18:36:14 -0700
  • cd60e020c3 Add support for TSQualifiedType in ast-types (#1696) Christopher Chedeau 2017-05-23 18:18:46 -0700
  • a446cf18ce Add parenthesis for ternary inside of as (#1697) Christopher Chedeau 2017-05-23 18:18:34 -0700
  • 44d02b8680 Support empty declare module (#1693) Christopher Chedeau 2017-05-23 17:13:47 -0700
  • 5671f32c07 Handle comments at the beginning of ClassProperty value (#1692) Christopher Chedeau 2017-05-23 17:13:40 -0700
  • 9af859f0b2 Fix master Christopher Chedeau 2017-05-23 17:13:01 -0700
  • 8ad31635b6 Make the comment chain comment detection more robust (#1691) Christopher Chedeau 2017-05-23 16:31:10 -0700
  • f8ff7e5cd2 Add TSArrayType to ast-types (#1690) Christopher Chedeau 2017-05-23 16:31:01 -0700
  • 7ab73e688d Add parenthesis around arrow functions in a cast (#1689) Christopher Chedeau 2017-05-23 16:30:47 -0700
  • 474eed0ecb Do not add double space for export function without body with a comment (#1688) Christopher Chedeau 2017-05-23 16:30:35 -0700
  • 7a0df958dc Ignore node_modules when running prettier from CLI (#1683) Michał Pierzchała 2017-05-23 23:19:04 +0200
  • cf716e5538 Handle trailing comments in member chains (#1686) Christopher Chedeau 2017-05-23 13:58:52 -0700
  • 47d9686402 Do not indent for switch case with `;` (#1687) Christopher Chedeau 2017-05-23 13:58:43 -0700
  • bcc3eb9272 Add TSTupleType to ast-types (#1685) Christopher Chedeau 2017-05-23 13:14:30 -0700
  • 1e351436da Add parenthesis for binary expression inside of as (#1682) Christopher Chedeau 2017-05-23 13:14:22 -0700
  • f69c5496c6 Break if the first group has an end of line comment (#1681) Christopher Chedeau 2017-05-23 13:14:13 -0700
  • c46f230a40 Fix TSAbstractClass base (#1676) Christopher Chedeau 2017-05-23 12:34:40 -0700
  • c2007ef2a4 Handle TypeScript decorators (#1678) Christopher Chedeau 2017-05-23 12:33:54 -0700
  • 069df25475 Fix last comment of import (#1677) Christopher Chedeau 2017-05-23 12:33:46 -0700
  • 19486bdd17 Add parenthesis for ternaries inside of a cast (#1680) Christopher Chedeau 2017-05-23 12:33:32 -0700
  • f50e42d8e9 Do not put softline before TSImportEqualsDeclaration (#1679) Christopher Chedeau 2017-05-23 12:33:26 -0700
  • e37ea2c1f6 Add expression node in TSAsExpression (#1675) Christopher Chedeau 2017-05-23 12:33:18 -0700
  • 2c5dd4cc04 Print typescript class generics (#1673) Christopher Chedeau 2017-05-23 12:33:10 -0700
  • fc88aa185b Add parenthesis around binary expression inside of update expression (#1672) Christopher Chedeau 2017-05-23 12:33:03 -0700
  • 2512497288 Hug JSX text after multi line tags (#1671) Karl O'Keeffe 2017-05-23 19:56:21 +0100
  • 95e981dd21 Preserve unusual unicode whitespace (#1658) Karl O'Keeffe 2017-05-23 17:09:29 +0100
  • 330601c77d Find nearest node when formatting range (#1659) Joseph Frazier 2017-05-23 10:43:58 -0400
  • 316c76172b Add test for flow class field override (#1669) Brian Ng 2017-05-22 17:54:20 -0500
  • 4083d92ad1 Fix fill wrapping when text starts with whitespace (#1666) Karl O'Keeffe 2017-05-22 23:32:57 +0100
  • d608b7ba28 Bump Babylon and enable additional tests (#1668) Brian Ng 2017-05-22 17:31:53 -0500
  • c2a3d23133 Improve the `--list-different` example Simon Lydell 2017-05-22 20:30:10 +0200
  • 0a5d035a85 Add example of `--list-different` flag usage to readme (#1665) Mateusz Zatorski 2017-05-22 19:27:24 +0100
  • 374a68201c Don't removeLines() from TemplateLiteral quasis (#1664) Joseph Frazier 2017-05-22 12:00:01 -0400
  • aeed7840e2 Do not inline arrow when argument has a leading comment (#1660) Christopher Chedeau 2017-05-22 06:40:19 -0700
  • fa8408b53f Upgrade typescript parser, fix and run AST tests on Travis (#1657) Joseph Frazier 2017-05-21 17:16:24 -0400
  • 50e95d6c7c Update README.md Christopher Chedeau 2017-05-21 13:37:58 -0700
  • 5e8125b96e Move options around Christopher Chedeau 2017-05-21 13:21:29 -0700
  • 801519ec79 Warn against > 80 columns Christopher Chedeau 2017-05-21 13:17:02 -0700
  • 6f0707a995 Make emacs package summary clearer (#1655) Jimmy Yuen Ho Wong 2017-05-21 20:12:23 +0100
  • 378682350f Improve ESLint setup and fix errors (#1656) Simon Lydell 2017-05-21 21:11:09 +0200
  • d7aaaee0dd Add `lint` script, run it on Travis, prettify source code (#1634) Joseph Frazier 2017-05-21 14:00:16 -0400
  • 569380155b Add `--range-start` and `--range-end` options to format only parts of the input (#1609) Joseph Frazier 2017-05-21 13:14:13 -0400
  • f3a049627d Add instruction on how to set up key binding in vim (#1654) Henric Trotzig 2017-05-21 19:08:26 +0200
  • bc5186e544 Run Prettier on all source files (#1648) Simon Lydell 2017-05-21 17:13:11 +0200
  • 226adb2e81 Allow `--write` to be used with `--list-different` (#1633) Joseph Frazier 2017-05-21 11:12:00 -0400
  • 83fe8d3d18 Make package-lint happy (#1629) Roman Coedo 2017-05-21 17:11:11 +0200
  • c32d567512 Add Emacs package attributes for prettier-js.el (#1651) Jimmy Yuen Ho Wong 2017-05-21 16:10:37 +0100
  • 599444fe7f fix(typescript): add TSInterfaceHeritage to ast-types (#1644) Lucas Azzola 2017-05-22 01:10:04 +1000
  • 575980d7f4 fix(typescript): handle global namespace without modifiers (#1646) Lucas Azzola 2017-05-22 01:09:29 +1000
  • 5c6fd80d50 fix(typescript): handle undefined variable declarations (#1645) Lucas Azzola 2017-05-22 01:03:38 +1000
  • 8f00393a56 tools(typescript): do not report SyntaxErrors as errors (#1647) Lucas Azzola 2017-05-22 00:53:30 +1000
  • e1fdf78863 upgrade typescript-elint-parser and enable most ts tests again (#1649) Danny Martini 2017-05-21 16:53:00 +0200
  • 8ad3aeff6a Sync the Flow tests (#1638) Simon Lydell 2017-05-20 12:16:28 +0200
  • fc60d548aa Fix/ts interface heritage (#1601) Danny Martini 2017-05-20 12:15:50 +0200
  • de8a658bed Use `const`/`let` instead of `var` (#1631) Joseph Frazier 2017-05-19 16:00:38 -0400
  • 16ce76a082 Always run prettier if prettier-mode is active (#1623) Roman Coedo 2017-05-18 17:56:59 +0200
  • 2fd7199c11 Clarify when original styling is significant (#1620) Shaun LeBron 2017-05-17 23:03:52 -0500
  • 4e9cdc413c Extract util.isBlockComment() helper (#1602) Joseph Frazier 2017-05-14 18:58:06 -0400