Commit Graph
4001 Commits
Author SHA1 Message Date
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 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
Seiyaandfisker 303391a94a Preserve trailing double spaces in JSDoc (#18594)
Co-authored-by: fisker <lionkay@gmail.com>
2026-01-13 00:14:18 +08:00
fisker Cheung 797e260d36 Import graphql directly (#18599) 2026-01-10 13:49:16 +08:00
renovate[bot]andfisker b78da863cb Update Angular Estree (#18592)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: fisker <lionkay@gmail.com>
2026-01-09 08:39:04 +08:00
renovate[bot]andfisker b72dbf5082 Update dependency oxc-parser to v0.107.0 (#18576)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: fisker <lionkay@gmail.com>
2026-01-06 02:11:30 +08:00
fisker Cheung c9342890af Switch to narrow-emojis (#18531) 2026-01-06 00:03:44 +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
c4fb922a0f Update dependency linguist-languages to v9.2.0 (#18559)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: fisker Cheung <lionkay@gmail.com>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-01-02 13:09:43 +08:00
Konv Suuandfisker Cheung 717731d4b5 Preserve line breaks for inline comments in SCSS maps (#18535)
Co-authored-by: fisker Cheung <lionkay@gmail.com>
2025-12-30 17:29:19 +08:00
Konv Suu 656ff271a0 CLI: Parsed filenames as string (#18546) 2025-12-30 17:24:43 +08:00
George Zaharievandfisker 38745522e3 Support for Flow match instance patterns and Flow records (#18511)
Co-authored-by: fisker <lionkay@gmail.com>
2025-12-30 05:24:56 +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
Konv Suu 4f1c4d9eb8 Prevent SCSS math expressions in group treated as map item (#18530) 2025-12-26 16:24:35 +08:00
Konv Suuandfisker Cheung e82248225a Use explicit key format when mapping key wraps (#18330)
Co-authored-by: fisker Cheung <lionkay@gmail.com>
2025-12-25 20:52:29 +08:00
Ulrich Starkandautofix-ci[bot] f2f97751a1 Fix line comments jumping past member lookups in as expressions (#18522)
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-12-25 20:43:22 +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 cd0c3292d3 Minor refactor to markdown embed print (#18518) 2025-12-23 13:27:40 +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
fisker Cheung 9bf7f1b971 Consistent formatting for "new expression" with type cast (#18507) 2025-12-21 16:54:45 +08:00
a533a6b1c7 Preserve spaces around placeholders for template literals (#18460)
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: fisker Cheung <lionkay@gmail.com>
2025-12-16 09:31:32 +08:00
Konv Suuandfisker Cheung f3c5c4ec17 Prevent trailing comma in SCSS if() function (#18471)
Co-authored-by: fisker Cheung <lionkay@gmail.com>
2025-12-16 08:37:18 +08:00
fisker Cheung 5cc3c26c46 Remove static import of plugins from bundled Prettier entry (#18483) 2025-12-15 01:39:44 +08:00
fisker Cheung 01363e7310 Refactor builtin plugins creation (#18481) 2025-12-14 23:22:28 +08:00
fisker a5684d0aaf Fix import path in markdown printer 2025-12-14 04:32:59 +08:00
fisker Cheung 9541af3087 Restructure markdown plugin (#18479) 2025-12-14 04:17:23 +08:00
renovate[bot]andfisker f16e059640 Update flow-parser (#18474)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: fisker <lionkay@gmail.com>
2025-12-13 04:18:37 +08:00
fisker Cheungandautofix-ci[bot] 1a3ef69056 Fix bugs when replacing characters with space (#18455)
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-12-12 04:08:37 +08:00
Seiya f2cfef1ec2 Correct frontmatter length measurement (#18453) 2025-12-09 23:22:42 +08:00
fisker Cheung a9c0ce927b Replace editorconfig with editorconfig-without-wasm (#18452) 2025-12-09 23:21:27 +08:00
Ravindu Liyanapathiranaandfisker f2ce657254 Don't print Angular attribute values that are single template/string literals, on new lines (#18378)
Co-authored-by: fisker <lionkay@gmail.com>
2025-12-09 14:17:41 +08:00
renovate[bot]andfisker dfed96fddb Update dependency n-readlines to v3 (#18447)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: fisker <lionkay@gmail.com>
2025-12-08 21:41:49 +08:00
fisker Cheung 88a41df74f Use isReturnOrThrowStatement (#18440) 2025-12-07 18:21:52 +08:00
fisker Cheung 2f2faa92c4 Extract type guard functions to node-types.js (#18439) 2025-12-07 18:12:31 +08:00
fisker Cheung 1fa465679c Fix ts estree type definition (#18438) 2025-12-07 16:50:35 +08:00
fisker Cheung 576f952997 Fix flow estree type definition (#18437) 2025-12-07 16:02:13 +08:00