Commit Graph
100 Commits
Author SHA1 Message Date
fisker Cheung 7c7b2e2ef8 Print semicolon for prettier-ignored {Break,Continue}Statement (#18678) 2026-01-18 18:56:56 +08:00
fisker 0027e5b6cc Remove useless break 2026-01-18 08:33:43 +08:00
fisker Cheung 42d384d148 Remove useless optional chaining (#18677) 2026-01-18 08:32:47 +08:00
fisker Cheung 719373fb75 Move BreakStatement ContinueStatement location override to locEnd (#18675) 2026-01-18 07:47:54 +08:00
fisker Cheung 93f0ff3910 Add tests for comments around break and continue (#18673) 2026-01-18 03:03:45 +08:00
fisker Cheung 68b64f2aa3 Check AST shape instead of parser (#18672) 2026-01-18 02:51:15 +08:00
fisker 0bc2286c9d Another place 2026-01-18 02:23:34 +08:00
fisker Cheung 7f5c18d719 Minor refactor to function print (#18671) 2026-01-18 02:08:47 +08:00
fisker Cheung e11a16a881 Reuse isCallOrNewExpression (#18670) 2026-01-18 01:48:59 +08:00
fisker Cheung 62309811c0 Fix inconsistent comment attach between NewExpression and CallExpression (#18669) 2026-01-18 01:30:03 +08:00
fisker Cheung 18ababcd50 Review isMemberExpression check (#18666) 2026-01-17 23:00:02 +08:00
fisker Cheung 0cc4861cc4 Remove suppressDeprecatedPropertyWarnings in typescript parser (#18664) 2026-01-17 12:20:52 +08:00
fisker Cheung 38fb00bfc9 Revert "Use prettier.prettier-vscode instead of the legacy one (#18374) (#18662) 2026-01-17 09:48:35 +08:00
fisker Cheung 22032d5aa4 Review ChainExpression check (#18659) 2026-01-17 04:46:43 +08:00
fisker Cheung 5ce41ed535 Don't skip ChainExpression in isCallExpression (#18654) 2026-01-16 20:08:01 +08:00
fisker Cheung ece892d6f0 Don't skip ChainExpression in isMemberExpression (#18652) 2026-01-16 11:10:47 +08:00
fisker Cheung a797d40e2f Playground: Display panel name (#18651) 2026-01-16 09:50:55 +08:00
fisker Cheung 0b2759943c Update babel to v8.0.0-beta.4 (#18611) 2026-01-15 23:53:14 +08:00
fisker Cheungandautofix-ci[bot] 7f455be5af Improve syntax highlight for Flow syntax (#18645)
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-01-15 19:54:18 +08:00
fisker Cheung b5911162bf Improve parentheses check for ExportDefaultDeclaration (#17188) 2026-01-15 18:31:59 +08:00
fisker Cheung 28c00b6251 Remove outdated typeArguments check (#18640) 2026-01-15 18:11:11 +08:00
fisker Cheung 8bb1341ff4 Update flow parse options (#18641) 2026-01-15 10:24:52 +08:00
fisker 5d5094e084 Fix author link 2026-01-15 08:43:11 +08:00
fisker 7ad9d9ae72 Remove released changelogs 2026-01-15 08:11:29 +08:00
fisker 01d1469c84 Merge branch 'v3.8.x'
# Conflicts:
#	src/language-markdown/embed.js
#	tests/format/misc/errors/front-matter/__snapshots__/format.test.js.snap
2026-01-15 08:10:20 +08:00
fisker bece827851 Revert change in release script 2026-01-15 08:08:04 +08:00
fisker 82a4ab26f1 Bump Prettier dependency to 3.8.0 2026-01-15 08:06:41 +08:00
fisker 5213ee463c Clean changelog_unreleased 2026-01-15 08:06:02 +08:00
fisker f95ad0f8e1 Comment out finished steps 2026-01-15 08:05:17 +08:00
fisker b2034e819a Fix release script 2026-01-15 08:02:57 +08:00
fisker 5824b15189 Release 3.8.0 2026-01-15 08:02:39 +08:00
fisker Cheungandautofix-ci[bot] 04336012b3 Add blog post for v3.8.0 (#18639)
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-01-15 07:57:39 +08:00
fisker Cheung b04d05b831 Remove lint step from release script (#18415) 2026-01-15 06:52:31 +08:00
fisker Cheung f48f89e182 Reuse logic for function parameters in flow components (#18633) 2026-01-15 06:10:12 +08:00
fisker 695887cccc Update snapshots 2026-01-15 06:09:05 +08:00
fisker Cheung ed739f0d66 Angular 21.1: Support consecutive switch cases (#18593) 2026-01-15 06:04:46 +08:00
fisker Cheung e32e1218d6 Angular 21.1: Support spread element in array and object literals (#18596) 2026-01-15 06:02:57 +08:00
fisker Cheung 4e401ff7ea Support formatting angular syntax in markdown (#18519) 2026-01-15 05:58:31 +08:00
fisker Cheung f92f80179a Minor refactor to markdown embed print (#18518) 2026-01-15 05:57:57 +08:00
fisker 1d05c4cf2a Update workflow branches 2026-01-15 05:53:20 +08:00
fisker Cheung 9464003348 Angular 21.1: Support consecutive switch cases (#18593) 2026-01-15 05:14:58 +08:00
fisker Cheung b1c75ac9ad Improve dangling comment handling in flow components (#18629) 2026-01-15 04:04:39 +08:00
fisker Cheung d40da4a260 Merge printHook into printFunction (#18632) 2026-01-15 04:04:03 +08:00
fisker Cheung b0ffc1208d Add test for comments in hookTypeAnnotation (#18631) 2026-01-15 03:35:07 +08:00
fisker Cheung 4cfb8bc9b8 Improve dangling comment handling in flow hooks (#18630) 2026-01-15 03:01:56 +08:00
fisker Cheung 2c2b494943 Fix type check (#18627) 2026-01-14 16:23:15 +08:00
fisker Cheung 6e85d4a785 Remove arrow function return type check (#18589) 2026-01-14 06:56:11 +08:00
fisker Cheung ad633008b4 Angular 21.1: Support spread element in array and object literals (#18596) 2026-01-14 05:13:21 +08:00
fisker Cheung 5fff8e7959 Extract printDanglingCommentsInList (#18626) 2026-01-14 05:10:23 +08:00
fisker Cheung 9c13ac1572 Rename handleLastFunctionArgComments (#18625) 2026-01-14 04:44:36 +08:00
fisker Cheung ae14f16f86 Fix dangling comment print in function parameters (#18623) 2026-01-14 03:53:42 +08:00
fisker Cheung 8c310eef6f Refactor handleCommentInEmptyParens (#18624) 2026-01-14 03:00:25 +08:00
fisker Cheung c7e6ea813d Refactor dangling comment attach in arrow function (#18622) 2026-01-14 01:45:12 +08:00
fisker Cheung 204731adeb Add possible node types (#18621) 2026-01-14 01:42:32 +08:00
fisker Cheung e636454118 Improve comments around type arguments print (#18620) 2026-01-14 00:39:00 +08:00
fisker Cheung 1b36f27d8e Improve comment print inside type arguments (#18619) 2026-01-13 22:40:49 +08:00
fisker Cheung 7733de931e Improve comment handling around calls without arguments (#18615) 2026-01-13 21:40:22 +08:00
fisker Cheung 78ff25b5cf Don't force array/object with short block comment to break (#18617) 2026-01-13 20:47:40 +08:00
fisker Cheung 3b9ecca4d9 Don't treat Flow inexact tuples as empty (#18616) 2026-01-13 19:15:36 +08:00
fisker Cheung 09ce948ee3 Clean standalone build script (#18614) 2026-01-13 05:45:06 +08:00
fisker Cheung 7e1b10be3a Allow GraphQL Types that implement many interfaces to break (#18582) 2026-01-13 02:18:51 +08:00
fisker Cheung 7a76a9b119 Fix GraphQL dangling comment print (#18581) 2026-01-13 02:18:04 +08:00
fisker Cheung 360b8681d9 Don't create shared reference for empty visitor keys (#18610) 2026-01-13 02:16:12 +08:00
fisker Cheung d2d34ee619 Refactor wrapExpression (#18607) 2026-01-13 00:15:13 +08:00
fisker Cheung 05c6090176 Build: mark polyfills pure (#18601) 2026-01-10 15:07:34 +08:00
fisker Cheung 797e260d36 Import graphql directly (#18599) 2026-01-10 13:49:16 +08:00
fisker Cheung 32114b760c Website: collect dependencies with package-dependencies-tree (#18591) 2026-01-09 04:46:45 +08:00
fisker Cheung 98ed9261a7 Add test for #6215 (#18590) 2026-01-09 02:48:30 +08:00
fisker fa68b2b74f Tweak renovate.json5 2026-01-06 02:23:55 +08:00
fisker Cheung c9342890af Switch to narrow-emojis (#18531) 2026-01-06 00:03:44 +08:00
fisker Cheung 67ac362bbe Website: reduce PrettierFormat props (#18573) 2026-01-05 18:47:11 +08:00
fisker Cheung 2b88ed7976 Website: refactor prettier worker (#18572) 2026-01-05 17:51:47 +08:00
fisker Cheung cbcc5e4959 Website: convert editorState to js module (#18570) 2026-01-05 17:33:29 +08:00
fisker Cheung d696f899ac Minor tweak to builtin plugins generation (#18566) 2026-01-05 05:20:16 +08:00
fisker Cheung 58ff4642dd Add PrintResult for doc printer (#18372) 2026-01-02 13:41:28 +08:00
fisker 632d498744 Remove useless group from renovate config 2025-12-31 05:40:02 +08:00
fisker 2973904583 Group devDependencies in renovate config 2025-12-31 05:25:18 +08:00
fisker Cheung e94577b0c7 Website: improve handlebars language support (#18554) 2025-12-31 03:06:26 +08:00
fisker Cheung 1c49bedbee Refactor website CDN url replacements (#18553) 2025-12-31 02:17:06 +08:00
fisker Cheung 65e600a539 Use cm6-graphql from CDN (#18552) 2025-12-31 00:01:20 +08:00
fisker Cheung 8903d89377 Update @codemirror/view to latest (#18550) 2025-12-30 23:43:25 +08:00
fisker Cheung 8ad3204bf0 Improve codemirror language support (#18549) 2025-12-30 17:11:09 +08:00
fisker Cheung f3b0a5eea1 Website: put all components inside app (#18547) 2025-12-30 17:10:45 +08:00
fisker Cheung 26321b02f8 Add a section about AI usage in CONTRIBUTING.md (#18543) 2025-12-30 15:48:56 +08:00
fisker Cheung f19a0581c7 Use CDN files on website (#18545) 2025-12-30 14:14:17 +08:00
fisker Cheung 1ce53af15b Disable module <identifier> test on babel-ts parser (#18544) 2025-12-30 02:48:24 +08:00
fisker Cheung 33ae836128 Treat template literal tag as IIFE (#18541) 2025-12-30 00:12:32 +08:00
fisker Cheungandautofix-ci[bot] 68861ae531 Fix dangling comment detection in function parameters and call arguments (#18540)
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-12-29 19:52:29 +08:00
fisker Cheung 26facc7f30 Improve readability of "group" print with an IIFE (#18537) 2025-12-29 18:47:16 +08:00
fisker Cheung e2806a30b2 Keep iife function comments in parentheses (#18538) 2025-12-29 18:46:45 +08:00
fisker Cheung 88ffc016db Fix linebreak in member chain (#17251) 2025-12-29 15:25:29 +08:00
6c339cd882 Upgrade to latest micromark (markdown only) (#18277)
Co-authored-by: fisker Cheung <lionkay@gmail.com>
Co-authored-by: fisker <lionkay@gmail.com>
Co-authored-by: Jed Fox <git@jedfox.com>
Co-authored-by: seiya <20365512+seiyab@users.noreply.github.com>
2025-12-26 19:43:49 +08:00
fisker Cheung 64484a41be Support formatting angular syntax in markdown (#18519) 2025-12-25 20:42:58 +08:00
fisker Cheungandautofix-ci[bot] b7055dbfb4 Run browser tests on UMD version (#18526)
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-12-25 00:08:21 +08:00
fisker Cheung 06a73b700b Run tests in browser (#18521) 2025-12-24 22:57:02 +08:00
fisker Cheung cd0c3292d3 Minor refactor to markdown embed print (#18518) 2025-12-23 13:27:40 +08:00
fisker Cheung cc243fe154 Fix lock-threads (#18517) 2025-12-23 01:03:01 +08:00
fisker Cheung 0b16f5d339 Prevent attaching comment to non-printable child of shorthand {Import,Export}Specifier (#18510) 2025-12-22 10:19:31 +08:00
fisker Cheung c9eb4bcd9e Remove useless u flags in regular expressions (#18509) 2025-12-21 23:44:08 +08:00
fisker Cheung 97f2e81d06 Rewrite nested ternaries (#18508) 2025-12-21 18:07:47 +08:00