Commit Graph
100 Commits
Author SHA1 Message Date
fisker Cheung 29854ca8da Fix comments print in IfStatement (#15076) 2023-07-29 10:01:46 +08:00
fisker Cheung 12fd8891af Update typescript-eslint to v6 (#14429) 2023-07-22 02:35:30 +08:00
fisker Cheung 28d66241c5 Clean .prettierignore (#15071)
* Clean `.prettierignore`

* Add `**/.yarn/*` back
2023-07-16 13:54:58 +09:00
fisker Cheung 79d8a39838 Fix a TODO in website build script (#15072) 2023-07-11 14:50:00 +08:00
fisker Cheung f24cff38d4 Update cjk-regex, regexp-util, and unicode-regex (#15069) 2023-07-10 19:45:18 +08:00
fisker Cheung 958379ce52 Update v3 blog post (#15028) 2023-07-08 08:23:19 +08:00
fisker Cheung e2f4ce38f7 Improve cursor tracking (#14812) 2023-07-06 09:51:29 +08:00
fisker Cheung 44979b0a37 Remove test step from release script (#15011) 2023-07-04 16:15:54 +08:00
fisker Cheung e12afe89f3 Regenerate yarn.lock file (#15010) 2023-07-04 13:53:42 +08:00
fisker Cheung db31fd602e Regenerate yarn.lock file for website (#15009) 2023-07-04 13:16:58 +08:00
fisker Cheung 04f0015d2a Fix prConcurrentLimit 2023-06-18 10:49:39 +08:00
fisker Cheung c0f6f2da8b Clear filename before print ignored file code to screen (#14794) 2023-05-16 20:40:18 +08:00
fisker Cheung 7054be5ba0 Remove unused dependency from release script (#14806) 2023-05-08 11:32:45 +08:00
fisker Cheung 05a32d377f Switch string-width to eastasianwidth (#14793) 2023-05-06 16:56:49 +08:00
fisker CheungandSUZUKI Sosuke 54404fc96f Remove plugin search feature (#14759)
Co-authored-by: SUZUKI Sosuke <aosukeke@gmail.com>
2023-05-05 10:31:25 +08:00
fisker Cheung fbd82cf774 Update @angular/compiler to v16 (#14792) 2023-05-05 10:27:46 +08:00
fisker Cheung b86e42cc84 Ignore .gitignored files (#14731) 2023-05-04 17:20:05 +08:00
fisker Cheung 5df9073570 Move estree printer into print/ (#14769) 2023-04-27 15:49:32 +08:00
fisker Cheung 1107ae6bd0 Suggest use named import in docs and changelogs (#14758) 2023-04-25 16:22:47 +08:00
fisker Cheung d6f30ad3d9 Build: add default exports to ESM bundles (#14757) 2023-04-25 15:37:56 +08:00
fisker Cheung 8edd605f18 Fix bultin plugins, keep public plugins sync (#14756) 2023-04-25 10:45:08 +08:00
fisker Cheung 1606af78cd Fix changelog 2023-04-23 16:02:03 +08:00
fisker Cheung 0416ff42e2 Merge remote-tracking branch 'remotes/upstream/patch-release'
# Conflicts:
#	.git-blame-ignore-revs
#	docs/browser.md
#	package.json
#	yarn.lock
2023-04-23 15:59:21 +08:00
fisker Cheung 6c2ea7586e Git blame ignore 2.8.8 2023-04-23 15:32:32 +08:00
fisker Cheung fe8fcb5f98 Bump Prettier dependency to 2.8.8 2023-04-23 15:32:30 +08:00
fisker Cheung 1b7fad5255 Release 2.8.8 2023-04-23 15:22:56 +08:00
fisker Cheung 2b12079d57 Enable plugin:regexp/recommended (#14445) 2023-04-23 09:41:05 +08:00
fisker Cheung e234b73a99 Rename functions (#14735) 2023-04-22 22:19:41 +08:00
fisker Cheung b5043bcca5 Stop formatting unknown code with babel parser (#14718) 2023-04-21 13:12:11 +08:00
fisker Cheung 7f292bd8f3 Simplify printIntersectionType (#14728) 2023-04-20 15:09:19 +08:00
fisker Cheung fb948bb15f Integration test: Rename runPrettier to runCli (#14687) 2023-04-11 08:44:23 +08:00
fisker Cheung 578f093d30 Accept multiple --ignore-paths (#14332) 2023-04-10 10:51:46 +08:00
fisker Cheung bec997e85c Fix cursor tracking inside JSXText (#14163) 2023-04-10 10:44:31 +08:00
fisker Cheung ecfa324b69 Format <script> inside SVG (#14400) 2023-04-10 10:43:48 +08:00
fisker Cheung 686320a88c Fix inconsistent union/intersection type format between TS and Flow (#14654) 2023-04-10 09:58:12 +08:00
fisker Cheung 1e50206d28 Improve new line after { detection in TSMappedType (#14659) 2023-04-10 09:56:39 +08:00
fisker Cheung cddb59d211 Don't apply plugin default options from unused plugins (#14664) 2023-04-07 11:08:41 +08:00
fisker Cheung 02a50e5bb9 Angular: Support computed optional member expression (#14658) 2023-04-07 09:53:59 +08:00
fisker Cheung 20320a56e4 Fix typo (#14653) 2023-04-07 09:52:19 +08:00
fisker Cheung e4349cae71 Bump @prettier/parse-srcset to v3 (#14665) 2023-04-05 16:51:32 +08:00
fisker Cheung 78b0a6bb80 Fix plugin resolve logic (#14663) 2023-04-04 10:53:50 +08:00
fisker Cheung 1d320ff85b Add a writeFormattedFile to mock (#14657) 2023-04-04 09:08:44 +08:00
fisker Cheung 42584d48d2 Remove outdated visitor key for TSAbstractMethodDefinition (#14662) 2023-04-04 09:07:29 +08:00
fisker Cheung 4965a790cb Forbid decorators on object property (#14661) 2023-04-04 09:07:15 +08:00
fisker Cheung 1d4f243d72 Ignore/generate files during --cache test (#14629) 2023-04-03 16:10:40 +08:00
fisker Cheung 0af711b66c Fix signature of embed (#14598) 2023-04-03 09:42:49 +08:00
fisker Cheung a78e514d77 Improve doc printer when printWidth: Infinity (#14638) 2023-03-31 16:47:26 +08:00
fisker Cheung ca2c0ccacb Put types first in exports (#14637) 2023-03-31 14:15:09 +08:00
fisker Cheung df7771caf5 CLI: Use absolute path internally (#14632) 2023-03-31 09:04:33 +08:00
fisker Cheung 233ae12d26 Quote patterns in error message (#14631) 2023-03-30 16:57:01 +08:00
fisker Cheung c933bffc49 Test: Remove final new line in stdout/stderr (#14630) 2023-03-30 14:25:28 +08:00
fisker Cheung d70f7b989b Fix inconsistent option normalization (#14622) 2023-03-29 17:48:29 +08:00
fisker Cheung 97fda8c11d Remove showInternal option from getSupportInfo() (#14621) 2023-03-29 14:43:01 +08:00
fisker Cheung cffb812912 Improve getSupportInfo (#14620) 2023-03-29 14:01:47 +08:00
fisker Cheung 75cd9992f0 Recognize the new search element (#14615) 2023-03-29 09:14:24 +08:00
fisker Cheung 3f1153ba27 Add parens to head of arrow function body instead of whole expression (#14599) 2023-03-29 09:13:46 +08:00
fisker Cheung 992ed5b572 Update dependabot and renovate to target main branch (#14614) 2023-03-28 16:56:35 +08:00
fisker Cheung d0eb185980 Move embed check together with print logic (#14613) 2023-03-28 16:30:36 +08:00
fisker Cheung 3614c17d24 Rewrite HTML embed format (#14606) 2023-03-28 16:20:30 +08:00
fisker Cheung 186a177017 Rename .mjs files to .js (#14605) 2023-03-28 16:18:53 +08:00
fisker Cheung 47f4e59fc0 Whitelist keys when build package.json file (#14611) 2023-03-28 15:42:40 +08:00
fisker Cheung b98576332a Fix playground (#14610) 2023-03-28 08:55:54 +08:00
fisker Cheung 3b82a34366 Merge pull request #9583 from prettier/next 2023-03-27 15:37:33 +08:00
fisker Cheung bae1eb4a14 Move ts script check into embed print (#14559) 2023-03-27 14:22:54 +08:00
fisker Cheung 919670df68 Refactor printParenthesizedValueGroup (#14540) 2023-03-27 14:17:49 +08:00
fisker Cheung 3c7e2173e4 Stop insert unnessary leading semicolon in vue event binding (#14557) 2023-03-27 13:37:05 +08:00
fisker c4d7a4bce7 Update snapshot 2023-03-27 11:00:14 +08:00
fisker 9329924de4 Merge branch 'main' into next
# Conflicts:
#	docs/browser.md
#	package.json
#	tests/format/typescript/decorators/jsfmt.spec.js
#	yarn.lock
2023-03-27 10:58:40 +08:00
fisker Cheung 4edb68ac50 Remove dead code (#14554) 2023-03-24 18:53:23 +08:00
fisker Cheung d883834963 Test invalid TOML config (#14583) 2023-03-24 16:30:56 +08:00
fisker dd779dae55 Merge branch 'patch-release'
# Conflicts:
#	.git-blame-ignore-revs
#	package.json
#	yarn.lock
2023-03-24 16:24:07 +08:00
fisker 353e3ac64c Clean changelog 2023-03-24 16:20:25 +08:00
fisker 5ed59be7bd Git blame ignore 2.8.7 2023-03-24 16:17:50 +08:00
fisker 0e26a75ebf Bump Prettier dependency to 2.8.7 2023-03-24 16:17:49 +08:00
fisker 543a9d71a7 Release 2.8.7 2023-03-24 16:11:52 +08:00
fisker Cheung f9fae7f34c Allow multiple decorators on same getter/setter (#14584) 2023-03-24 16:08:46 +08:00
fisker Cheung 94660f6cf0 Support parse void element in vue (#14560) 2023-03-24 14:51:04 +08:00
fisker Cheung 71339e3607 Remove outdated workaround (#14578) 2023-03-24 14:44:03 +08:00
fisker Cheung 368620a650 Move avoidAstMutation to printer.experimentalFeatures (#14579) 2023-03-24 14:36:10 +08:00
fisker Cheung ad9fd35b10 Perf: Skip printComments if printer don't have printComment function (#14468) 2023-03-24 14:25:36 +08:00
fisker Cheung 5f4a98e3bc Throw errors when parser can't be found (#14577) 2023-03-24 14:07:45 +08:00
fisker Cheung fc81cc13cb Fix plugin loading cache (#14576) 2023-03-24 13:19:18 +08:00
fisker Cheung 6d21de11fd Update plugin build system (#14571) 2023-03-24 08:44:25 +08:00
fisker Cheung 413a76d798 Remove plugins from standalone build (#14570) 2023-03-23 15:18:10 +08:00
fisker Cheung 68c7f2f6dc Unpin Node.js version (#14558) 2023-03-23 11:23:28 +08:00
fisker ee482b165c Merge branch 'main' into next
# Conflicts:
#	src/language-css/printer-postcss.js
2023-03-23 10:39:25 +08:00
fisker 8ddaa4c536 Exclude custom props for now 2023-03-23 10:35:02 +08:00
fisker 8e16d66bce Refactor to use path.match 2023-03-23 10:29:16 +08:00
fisker b61ef0d234 Merge 14208 into next 2023-03-23 09:51:35 +08:00
fisker Cheung 9d08be8907 Style: early return to reduce indention (#14561) 2023-03-22 18:47:32 +08:00
fisker Cheungandrenovate[bot] 8b5687ac4d Update dependency flow-parser to v0.202.0 (#14555)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-03-22 15:05:50 +08:00
fisker Cheung 6718d466b8 Add isFlowKeywordType (#14549) 2023-03-22 09:18:03 +08:00
fisker Cheung a3b352ce90 Fix Vue filter detection (#14542) 2023-03-22 08:56:32 +08:00
fisker Cheung addc340928 Refactor export declaration print (#14546) 2023-03-22 08:53:13 +08:00
fisker Cheung 21727ccf37 Share logic between flow and ts (#14545) 2023-03-22 08:47:18 +08:00
fisker 1c80e0104f Fix tests 2023-03-21 16:33:16 +08:00
fisker cfc8bbc662 Merge branch 'main' into next
# Conflicts:
#	docs/browser.md
#	package.json
#	src/language-js/parse/postprocess/typescript.js
#	tests/format/typescript/type-arguments-bit-shift-left-like/jsfmt.spec.js
#	yarn.lock
2023-03-21 16:31:06 +08:00
fisker 546105732a Clean changelog 2023-03-21 16:21:00 +08:00
fisker 6c06cff8a9 Git blame ignore 2.8.6 2023-03-21 16:20:19 +08:00
fisker 0461cdd814 Bump Prettier dependency to 2.8.6 2023-03-21 16:20:18 +08:00