Commit Graph

  • 1375e6880a Generate ISSUE_TEMPLATE.md on build Simon Lydell 2017-09-14 00:14:35 +0200
  • ecaeec5b59 Add feature to test idempotency in playground Simon Lydell 2017-09-13 23:39:18 +0200
  • 5b576f4e78 Add more buttons to the playground Simon Lydell 2017-09-13 21:14:51 +0200
  • 323941bfd8 Clean up playground CSS and design Simon Lydell 2017-09-13 20:58:33 +0200
  • d5e5d66407 Add option to require @prettier or @format pragma (#2772) Will Binns-Smith 2017-09-13 09:03:18 -0700
  • cf9d52e9f3 Hide ast and doc editors while loading the playground Simon Lydell 2017-09-13 16:47:21 +0200
  • 709e271051 Improve CLI usage summary and fix typo Simon Lydell 2017-09-13 12:10:48 +0200
  • 45d200a06d Improve option categorization and usage summary Simon Lydell 2017-09-13 08:09:01 +0200
  • 32dfb80c86 Remove unnecessary fall-through comment Simon Lydell 2017-09-12 18:57:10 +0200
  • be65370301 Remove reassignment in createOptionUsage Simon Lydell 2017-09-12 18:54:23 +0200
  • 5d435abe0a Tweak option categories Simon Lydell 2017-09-12 18:39:38 +0200
  • c99f7e2e38 Tweak option descriptions Simon Lydell 2017-09-12 18:37:14 +0200
  • 602c2a2774 Rename detailOptions to detailedOptions Simon Lydell 2017-09-12 18:06:24 +0200
  • 661c029036 Make createUsage a bit easier to read Simon Lydell 2017-09-12 18:05:00 +0200
  • 4e5c808730 Fix typo in option description Simon Lydell 2017-09-12 18:04:40 +0200
  • e060406df1 Update options config comment Simon Lydell 2017-09-12 18:04:28 +0200
  • 2b9e1f80c5 Refactor option category grouping Simon Lydell 2017-09-12 17:14:10 +0200
  • c2847d90cd Make ESLint catch category typos Simon Lydell 2017-09-12 17:08:03 +0200
  • f53eab9b8d Make cli-util.js a bit more readable Simon Lydell 2017-09-12 16:53:21 +0200
  • e192279218 Remove the other .splice in cli-util.js Simon Lydell 2017-09-12 16:47:57 +0200
  • 1c6a881ed9 Remove one .splice in cli-util.js Simon Lydell 2017-09-12 16:41:09 +0200
  • 79eaa5a6e1 Remove reassignment in createUsage Simon Lydell 2017-09-12 16:28:57 +0200
  • 72132b4e97 Remove trailing whitespace in cli-constant.js Simon Lydell 2017-09-12 16:23:15 +0200
  • fd937ec334 fix webstorm integration guide (#2796) Stepan Burguchev 2017-09-13 13:06:49 +0300
  • 8ba2acadbb Make sure that shown playground Prettier version always is in sync Simon Lydell 2017-09-12 21:44:50 +0200
  • 951aed47f6 Print playground AST with Prettier to make it easier to read Simon Lydell 2017-09-12 21:15:49 +0200
  • 482a1d8311 Improve doc and ast editor appearance Simon Lydell 2017-09-12 20:59:23 +0200
  • c08b70a0da Update playground service worker script caching Simon Lydell 2017-09-12 08:03:10 +0200
  • 3f74c45b91 Support graphql(schema, `query`) (#2781) Lucas Azzola 2017-09-12 04:18:11 +1000
  • d6eeaae29b Fix some playground HTML errors and warnings Simon Lydell 2017-09-11 19:59:03 +0200
  • cdb7c0d4e3 Set playground Codemirror mode based on parser Simon Lydell 2017-09-11 19:55:15 +0200
  • a768740945 Update issue template Simon Lydell 2017-09-11 19:28:17 +0200
  • 1827d65d93 Add a "Copy as markdown" button to the playground Simon Lydell 2017-09-10 20:09:06 +0200
  • f51929e262 Lint fix Lucas Duailibe 2017-09-10 17:17:45 -0300
  • 902f7f0339 Use same logic for binary chain Lucas Duailibe 2017-09-10 16:55:00 -0300
  • 1b2127efb6 Update snapshot Lucas Duailibe 2017-09-10 16:46:47 -0300
  • bd78572b19 Break closing paren of ConditionalExpression in member chains Lucas Duailibe 2017-09-10 16:09:21 -0300
  • 2ec2ff9f9d refactor: replace `getDetailOption()` with `detailOptionMap` ikatyang 2017-09-11 00:48:05 +0800
  • a62be6a1d5 refactor: add `getDetailOption()` ikatyang 2017-09-11 00:45:07 +0800
  • b4ed4d1ffb refactor: remove `hidden`, display option usage only if (opposite-)description existed ikatyang 2017-09-11 00:24:03 +0800
  • df5482008e fix(prettierignore): support absolute filename (#2783) 长天之云 2017-09-11 00:21:56 +0800
  • d6a1474901 refactor: replace `no-option` with `oppositeDescription` ikatyang 2017-09-11 00:09:14 +0800
  • 8b02f702d5 fix(build): update ISSUE_TEMPLATE version regex to work as intended (#2785) Ika 2017-09-10 23:37:07 +0800
  • 955a2c1472 Keep conditional expressions in one line on method chains (#2784) Lucas Duailibe 2017-09-10 12:34:55 -0300
  • 3fa11984e9 refactor: use standard `// fall through` ikatyang 2017-09-10 23:26:13 +0800
  • bba7dcf498 Fix break on conditional expressions inside return Lucas Duailibe 2017-09-10 02:18:40 -0300
  • 4c9763c530 docs: fix typo ikatyang 2017-09-10 16:39:43 +0800
  • 1a4aac8f9b refactor: put `no-option` after `option` ikatyang 2017-09-10 14:10:42 +0800
  • 0c3fe2bc9f refactor: sort category ikatyang 2017-09-10 13:45:18 +0800
  • b9bc54aab6 refactor: adjust category ikatyang 2017-09-10 13:37:21 +0800
  • b51135d9fd refactor: add explaining for each of the properties ikatyang 2017-09-10 13:29:18 +0800
  • 0f9bb5b971 refactor: rename `formatOption` with `forwardToApi` ikatyang 2017-09-10 12:32:15 +0800
  • eaafbb77aa refactor: adjust warning message ikatyang 2017-09-10 12:17:33 +0800
  • 46a4cac617 refactor: pick format option from detailOptions ikatyang 2017-09-10 12:11:32 +0800
  • 3db840258b chore(build): update ISSUE_TEMPLATE.md before publish (#2776) Ika 2017-09-09 21:39:11 +0800
  • fabba20900 refactor: fix typo ikatyang 2017-09-09 16:41:28 +0800
  • 4d4d8e3f4e refactor: normalizeArgv without using getter ikatyang 2017-09-09 13:38:28 +0800
  • a7f595ca3e refactor: move createUsage to util ikatyang 2017-09-09 12:40:55 +0800
  • 82eaadc03a refactor: remove unnecessary code ikatyang 2017-09-09 12:09:43 +0800
  • 97100c42c4 test(integration): add tests for cursor-offset ikatyang 2017-09-09 12:06:50 +0800
  • 6ab8edafd5 test: add tests ikatyang 2017-09-09 11:49:22 +0800
  • 302de60bdc Fix comment style when placed after if statement test (#2675) jackyho112 2017-09-08 10:12:10 -0700
  • 507545510f refactor: add comment ikatyang 2017-09-08 16:53:51 +0800
  • c88a45bbf7 refactor: categorize usages ikatyang 2017-09-08 16:52:09 +0800
  • 51d5effaf4 refactor: rename isHidden with hidden ikatyang 2017-09-08 16:27:41 +0800
  • c2c9cc3759 refactor: dont consider prefix `no-` option as real option ikatyang 2017-09-08 16:26:08 +0800
  • cc66f9f923 refactor: remove unnecessary variable ikatyang 2017-09-08 16:14:48 +0800
  • de207b9f32 refactor: rename options with detailOptions ikatyang 2017-09-08 15:33:39 +0800
  • 2de3b13175 refactor: wrap usage in function ikatyang 2017-09-08 15:31:59 +0800
  • a1c3350bd1 refactor: change `isFormatOption: true` to `category: 'format'` ikatyang 2017-09-08 15:22:24 +0800
  • a1c9fd3e9d refactor: move usage to cli-usage ikatyang 2017-09-08 15:18:45 +0800
  • 08460e5ca5 test: add tests for `--stdin-filepath` ikatyang 2017-09-08 15:08:19 +0800
  • 50a26900de refactor: remove unnecessary code ikatyang 2017-09-08 14:55:22 +0800
  • d762f9d191 refactor: toNumber in getter ikatyang 2017-09-08 14:53:13 +0800
  • 91ecadd168 refactor: validate value in getter ikatyang 2017-09-08 14:48:54 +0800
  • 6e9e441aa9 refactor: reduce duplicate parameters ikatyang 2017-09-08 13:57:45 +0800
  • a0e7613058 refactor: set deprecared option value warning on getter ikatyang 2017-09-08 13:54:28 +0800
  • d9fd340902 test: add test for deprecated option value ikatyang 2017-09-08 12:36:00 +0800
  • 98c45bb421 refactor: use getter to show warning ikatyang 2017-09-08 12:33:26 +0800
  • 85f1351366 Fix unused var Lucas Duailibe 2017-09-08 00:39:37 -0300
  • 3cfee9c976 Clarification of code Lucas Duailibe 2017-09-08 00:25:54 -0300
  • 2c37697f82 Fix chained logical expressions with objects/array/etc inlined Lucas Duailibe 2017-09-07 15:28:12 -0300
  • b13a104a7b test: add test for `--flow-parser` ikatyang 2017-09-08 11:45:59 +0800
  • f964be5f8a Remove unnecessary tests Lucas Duailibe 2017-09-07 23:47:13 -0300
  • 541e929b43 Change how JSX mode is activated in ternaries Lucas Duailibe 2017-09-07 13:26:32 -0300
  • 0630d174ab test(integration): fix status ikatyang 2017-09-08 10:59:48 +0800
  • de2f61cd3e Merge branch 'master' into refactor/cli ikatyang 2017-09-08 10:58:28 +0800
  • 8939ee45db refactor: extract normalize function ikatyang 2017-09-08 10:57:29 +0800
  • 0981de9790 refactor: add missing dot ikatyang 2017-09-08 08:54:59 +0800
  • 402519ffb0 refactor: no need to use `reduce` ikatyang 2017-09-07 18:13:19 +0800
  • fe4c5eb582 refactor: no need to pass additional arg ikatyang 2017-09-07 17:09:45 +0800
  • fdf257b97f refactor: rename `err` to `error` ikatyang 2017-09-07 17:02:43 +0800
  • 1156cb3e67 refactor: no need to use `switch..case` ikatyang 2017-09-07 16:48:13 +0800
  • 3aef0bf1a0 refactor: remove unnecessary code ikatyang 2017-09-07 16:41:51 +0800
  • 4163a4fa83 refactor: replace cliDefaultOptions with apiDefaultOptions ikatyang 2017-09-07 16:23:40 +0800
  • 11183f6d7e refactor: extract validate option functions ikatyang 2017-09-07 15:14:43 +0800
  • be22996fd3 refactor: sort usages ikatyang 2017-09-07 13:39:39 +0800
  • c337f9bb23 refactor: auto generate usage from options ikatyang 2017-09-07 13:32:15 +0800
  • aaac83d126 refactor(runPrettier): reduce duplicate code (#2764) Ika 2017-09-07 13:16:45 +0800
  • 80e5b515ec refactor: rename variable ikatyang 2017-09-07 11:30:04 +0800