Commit Graph

  • 0ba4d71c5c Add link to blog post James Long 2017-01-10 10:33:54 -0500
  • e72347e51b Fix tests on Windows. Benjamin Tan 2017-01-10 21:53:09 +0800
  • 258575af9a Make `testRegex` Jest config a string instead of array. Benjamin Tan 2017-01-10 21:51:28 +0800
  • 14f8161c32 Add language support to readme James Long 2017-01-10 09:06:50 -0500
  • 14325b1532 Add MIT license James Long 2017-01-10 09:06:32 -0500
  • 50f898dc4a Acknowledge refmt James Long 2017-01-10 01:02:39 -0500
  • 92b3ecfd6b Final readme tweaks James Long 2017-01-10 01:00:02 -0500
  • 47c9b50f48 More docs James Long 2017-01-10 00:52:52 -0500
  • 612e3411cb Move atom package out and start new readme James Long 2017-01-10 00:45:11 -0500
  • b553718aee Fix up atom package James Long 2017-01-09 23:44:12 -0500
  • dd8dda101d Update atom package James Long 2017-01-09 23:27:17 -0500
  • a0edc2a520 Document more CLI flags in usage text James Long 2017-01-09 23:22:58 -0500
  • 2e4eb91edc Improve CLI command James Long 2017-01-09 23:03:35 -0500
  • 7639b755c2 More renaming of jscodefmt -> prettier James Long 2017-01-09 22:48:56 -0500
  • 79e222bb53 Rename to `prettier` James Long 2017-01-09 22:45:22 -0500
  • a4643f1bae Add special case for comment at top of file; regenerate snapshots James Long 2017-01-09 21:49:06 -0500
  • 74fc539e1a Fix usage with the Flow parser James Long 2017-01-09 21:24:42 -0500
  • 27af6be07a Apply bracketSpacing option to array literals James Long 2017-01-09 20:58:51 -0500
  • 5c53a2d59c Use babylon directly and convert recast's comment algorith to use our own API James Long 2017-01-09 17:37:45 -0500
  • 7ad69b05ca Tweak JSX attributes and fix bug with function params James Long 2017-01-09 14:28:23 -0500
  • f40f5f11d6 Add space before self-closing a JSXElement James Long 2017-01-09 14:16:28 -0500
  • 892d070313 Only allow ArrowFunctionExpression types to break themselves in CallExpression's if they using a block James Long 2017-01-09 14:01:14 -0500
  • 994432c193 Improve printing of comments James Long 2017-01-09 13:47:02 -0500
  • 542c0ee7b9 Reprint pp.js and printer.js James Long 2017-01-09 12:09:04 -0500
  • aed3c1af71 Handle curly brackets in SwitchCase types James Long 2017-01-09 12:07:39 -0500
  • 6b582f808c Don't prioritize breaking on last arg if it's a CallExpression James Long 2017-01-09 11:58:47 -0500
  • bcd44b4368 Keep blank lines from original source James Long 2017-01-09 09:44:39 -0500
  • 78a9da2ff4 Merge pull request #9 from demoneaux/readme James Long 2017-01-08 14:49:30 -0500
  • 8a5f3d1b10 Merge pull request #4 from jlongster/call-chain James Long 2017-01-08 14:44:58 -0500
  • c10681d148 Pull out special chain printing into utility function James Long 2017-01-08 14:44:44 -0500
  • fe4484d2e3 Update call/member expression chaining heuristic to account for NewExpression's James Long 2017-01-08 14:00:41 -0500
  • d5ab6ab921 Detect chained call expressions and format them specifically James Long 2017-01-05 15:26:45 -0500
  • ec1f9269d2 Improve readme. Benjamin Tan 2017-01-08 19:54:54 +0800
  • b5a455e41f Merge pull request #5 from vjeux/fix_fatal James Long 2017-01-06 23:35:06 -0500
  • c5ff571c6d Fix missing option argument Christopher Chedeau 2017-01-06 19:56:30 -0800
  • 9c72530589 Reduce duplicate code for printing intersection & union types James Long 2017-01-05 15:11:40 -0500
  • 5c39dc02e6 Improve intersection and union type annotation James Long 2017-01-05 14:43:05 -0500
  • 7b0ec6d935 Break ternary ops across newlines if needed James Long 2017-01-05 12:32:56 -0500
  • b5ae965274 Reprint pp.js James Long 2017-01-05 12:21:57 -0500
  • 0d4d21cc68 Print trailing commas everywhere if enabled James Long 2017-01-05 12:19:30 -0500
  • fcd5436b38 Improve if/else printing and other clauses James Long 2017-01-05 12:10:14 -0500
  • fc186c8df8 Add option for trailing commas in objects James Long 2017-01-05 11:36:41 -0500
  • 9596695a12 Rename quotes config option to James Long 2017-01-05 10:01:43 -0500
  • f1feb24dff Reprint printer.js James Long 2017-01-04 22:27:25 -0500
  • 835befebf5 Always output comment newlines, fix edge case with function param output James Long 2017-01-04 22:26:46 -0500
  • 67e2f6d482 Simplify how options are normalized (fixes default options) James Long 2017-01-04 20:45:28 -0500
  • 599b4311bb Allow single quotes with --single-quotes option James Long 2017-01-04 17:32:05 -0500
  • b550f1d088 Use , to separate type fields instead of ; James Long 2017-01-04 17:26:44 -0500
  • 8326963f2d Add option to include spaces inside object/array literals, default to false James Long 2017-01-04 17:23:07 -0500
  • 98fef67b4e Fix a bug with expanding function args by passing group opts properly James Long 2017-01-04 17:08:28 -0500
  • fae314bee0 Merge pull request #3 from jlongster/expand-last-arg James Long 2017-01-04 16:53:25 -0500
  • 898009ba66 Consistently print function parameters the correct way James Long 2017-01-04 16:52:49 -0500
  • 588c8ce7cd Add `conditionalGroup` to allow manually specifying multiple representations of a document; use it to support expanding last parameter of functions James Long 2017-01-04 15:24:10 -0500
  • fa16988401 If function declaration is too long, break all args on separate lines; also fix small bug in output cleansing James Long 2017-01-01 20:33:53 -0500
  • 37601b0a86 Update snapshots James Long 2017-01-01 20:20:45 -0500
  • de4d7ac799 Reprint printer.js James Long 2016-12-31 14:38:58 -0500
  • 5efa13a10c Never print blank lines with spaces James Long 2016-12-31 14:38:33 -0500
  • a9d06355ee Fix spacing algorithm James Long 2016-12-30 23:10:22 -0500
  • 7451255906 Bootstrapped! Format the printer with the printer itself James Long 2016-12-30 23:03:22 -0500
  • c9e24eb477 Add spaces around certain statements, add --write option, and more James Long 2016-12-30 23:01:07 -0500
  • 8861953e60 Remove old tests (part 2) James Long 2016-12-30 21:24:33 -0500
  • 965ad7f93a Remove old tests James Long 2016-12-30 21:24:04 -0500
  • 0465bb5790 Add flow parser as an option, default to babylon James Long 2016-12-30 21:23:50 -0500
  • 7ea2348b03 Various fixes with destructuring default, JSX, and more; all tests pass! James Long 2016-12-30 17:00:11 -0500
  • 649e8a1efe Add DeclareExportAllDeclaration to ast-types James Long 2016-12-30 15:07:35 -0500
  • a6f1e79db1 Ignore EmptyStatements when comparing asts, now down to 12 real failures \o/ James Long 2016-12-30 14:44:57 -0500
  • 32d4200f60 Wrap class expressions in parens if needed James Long 2016-12-30 14:25:52 -0500
  • 4dfaf9da98 Fix a few parens detection and more predicates James Long 2016-12-30 14:10:52 -0500
  • ed57110ef5 Add type parameters on anon functions James Long 2016-12-30 13:41:45 -0500
  • e972a7f0b6 Fix object and predicate annotations James Long 2016-12-30 13:32:43 -0500
  • 6715abca76 Tweak variable declaration printing James Long 2016-12-30 11:56:42 -0500
  • 73755a686d Fix type annotation for optional function type properties James Long 2016-12-30 00:08:03 -0500
  • 11a01552a4 Lots of bug fixes (will do smaller commits from now on) James Long 2016-12-30 00:01:44 -0500
  • 88dc2681f6 Make all tests pass the crash test and fix a few more bugs James Long 2016-12-27 21:40:04 -0500
  • 9acd34d67d update snapshots James Long 2016-12-27 13:29:31 -0500
  • 599e5821c1 Optimize jest testing and implement more fixes James Long 2016-12-27 13:28:04 -0500
  • 87f4a85edc Invoke JS API in tests instead of invoking executable every run James Long 2016-12-23 21:12:18 -0500
  • cfa14f07c3 Merge pull request #1 from vjeux/jest-tests James Long 2016-12-23 20:56:05 -0500
  • cf45afba61 Add testing Christopher Chedeau 2016-12-23 19:31:38 +0000
  • d5b07f5c3d Fix readme James Long 2016-12-23 13:40:43 -0500
  • 9b4535e9f8 Merge in forked recast printer that uses Wadler's algorithm James Long 2016-12-23 13:38:10 -0500
  • 35d8546d27 Add Atom support James Long 2016-11-30 10:02:23 -0500
  • d8313b03ce Add ability to call as API James Long 2016-11-29 15:23:00 -0500
  • 49316b18cc Add readme James Long 2016-11-29 12:26:03 -0500
  • cf4643896c add emacs support James Long 2016-11-29 12:22:51 -0500
  • a2f231d0eb Fix package.json James Long 2016-11-29 12:19:53 -0500
  • 29627ee520 initial James Long 2016-11-29 12:14:10 -0500