Commit Graph
3089 Commits
Author SHA1 Message Date
fisker Cheung 40d4bb1815 Remove redundant parentheses around JSX element (#18243) 2025-11-16 20:37:39 +08:00
renovate[bot]andfisker 3081896171 chore(deps): update dependency camelcase to v9 (#18227)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: fisker <lionkay@gmail.com>
2025-11-16 20:10:48 +08:00
renovate[bot]andfisker 829584a120 chore(deps): update dependency oxc-parser to v0.97.0 (#18240)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: fisker <lionkay@gmail.com>
2025-11-16 19:53:31 +08:00
fisker Cheung fb6f43c529 Add test for 18223 (#18237) 2025-11-16 19:07:00 +08:00
fisker Cheung 5bc3cd61c8 Make single heritage interface print more like the class superClass (#18215) 2025-11-05 00:17:39 +08:00
fisker Cheung beecab8e2e Support graphql v16.12 "executable descriptions" (#18214) 2025-11-04 20:14:15 +08:00
fisker Cheung 6c92f7ea54 Fix inconsistent logical expression print between CallExpression and NewExpression (#18205) 2025-11-04 17:15:27 +08:00
fisker Cheungandautofix-ci[bot] fb66c7dfcf Fix inconsistent break for array literals (#18172)
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-11-04 05:08:53 +08:00
fisker Cheungandautofix-ci[bot] b87311a7cd Move cursor tracking out of the doc print buffer (#18202)
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-11-04 03:54:35 +08:00
fisker Cheung bf95d3cdbe Add assertion to align (#18201) 2025-11-03 23:36:45 +08:00
fisker Cheung cf73b6f6c7 Build: Minor tweak to doc module import transform (#18194) 2025-11-03 05:31:36 +08:00
fisker Cheungandautofix-ci[bot] 0f05bc5871 Build: Reuse doc.mjs in index.mjs (#18193)
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-11-03 04:54:10 +08:00
fisker Cheung 01ce265822 Refactor doc modules (#18191) 2025-11-03 01:52:26 +08:00
fisker Cheung a313ca0b8a Improve readability of the doc printer (#18188) 2025-11-02 21:18:15 +08:00
fisker Cheung 5f3ea6c480 Fix Union type print (#18186) 2025-11-02 10:44:08 +08:00
fisker Cheung 7d9933d71f Rewrite tests for 18163 (#18185) 2025-11-01 16:31:33 +08:00
3bc46da961 Add missing parentheses in bitwise operators (#18163)
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: fisker <lionkay@gmail.com>
2025-10-31 20:45:37 +08:00
fisker Cheung 48100c323d Fix duplicated comments on prettier-ignored super class (#18168) 2025-10-31 09:33:19 +08:00
fisker Cheung d548a87684 Fix a miss used willPrintOwnComments (#18166) 2025-10-31 09:02:39 +08:00
fisker Cheung 1a3d443797 Fix Union type alignment (#18165) 2025-10-31 08:31:54 +08:00
fisker Cheung 528638031a Refactor "BinaryCastExpression" print (#18164) 2025-10-31 04:18:28 +08:00
fisker Cheung 7d3ff5d2fc Fix comment around as/satisfies expression (#18162) 2025-10-31 02:43:23 +08:00
fisker Cheung 062ab10601 Fix inconsistent print of as const (#18161) 2025-10-31 02:04:38 +08:00
Seiya 00e6baa6b5 Remove flaky test (#18154) 2025-10-30 22:39:44 +08:00
fisker CheungandAlexander Kachkaev 03e6828bfa Improve front matter support (#18153)
Co-authored-by: Alexander Kachkaev <alexander@kachkaev.ru>
2025-10-30 22:16:54 +08:00
fisker Cheung 4d2205926d Fix inconsistent printing of class method comment (#18147) 2025-10-30 22:00:28 +08:00
Eandfisker Cheung e51ff9ad41 Add Front Matter support to Handlebars (#17781)
Co-authored-by: fisker Cheung <lionkay@gmail.com>
2025-10-29 23:56:19 +08:00
renovate[bot]andfisker 17cf07e68a chore(deps): update dependency @prettier/html-tags to v2 (#18141)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: fisker <lionkay@gmail.com>
2025-10-29 23:53:34 +08:00
fisker Cheungandautofix-ci[bot] 011791fd6c Improve method transform (#18135)
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-10-28 02:51:50 +08:00
fisker Cheung b99012b48c Build: transform String.raw (#18134) 2025-10-27 23:24:02 +08:00
912342210d Fix extra blank lines in Handlebars style tags (#18065)
Co-authored-by: fisker <lionkay@gmail.com>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-10-27 19:59:40 +08:00
fisker Cheung d452be5cb0 Don't force handlebars elements to break in htmlWhitespaceSensitivity: "ignore" mode (#18133) 2025-10-27 08:46:30 +08:00
Konv Suuandfisker 28aca7bed4 Preserve spacing style between font size and line height (#18114)
Co-authored-by: fisker <lionkay@gmail.com>
2025-10-27 05:46:13 +08:00
Konv Suuandfisker c93e014c28 Remove indention in logical expression in Boolean() type coercion (#18087)
Co-authored-by: fisker <lionkay@gmail.com>
2025-10-24 21:42:46 +08:00
fisker Cheung 12607085aa Fix call signatures print in --no-semi mode (#18118) 2025-10-24 20:29:43 +08:00
fisker Cheung 445074d1f3 Refactor interface body and object type print (#14111) 2025-10-22 22:38:18 +08:00
fisker Cheung 7de88d638b Replace printInterface with printClass (#18091) 2025-10-21 21:10:51 +08:00
fisker Cheung a94d3cf453 Remove extra indention in class type parameters (#18094) 2025-10-21 17:48:36 +08:00
renovate[bot]andfisker 9750a888ca chore(deps): update typescript-eslint to v8.46.2 (#18113)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: fisker <lionkay@gmail.com>
2025-10-21 17:43:12 +08:00
fisker Cheung d4bd42f7f4 Fix inconsistent comment in property signature (#18110) 2025-10-21 17:40:46 +08:00
fisker Cheung 7eb39eafc0 Remove extra blank line in type alias (#18109) 2025-10-21 00:39:09 +08:00
fisker Cheung 7a20fe5c5f Improve comment printing around empty statement (#18108) 2025-10-20 17:43:24 +08:00
8d567d4f72 Keep LESS lookups tight (#17983)
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: fisker <lionkay@gmail.com>
2025-10-20 16:37:59 +08:00
fisker Cheung cfb37fcb1d Add test for #10814 (#18105) 2025-10-20 00:41:26 +08:00
fisker Cheung 561d62a212 Fix comment attach in ForXStatement (#18099) 2025-10-19 18:49:23 +08:00
fisker Cheung 66eaaaa69a Use printObject to print import attributes (#17329) 2025-10-19 18:37:06 +08:00
fisker Cheung eca05c1750 Fix visitor keys for TypePredicate (#18090) 2025-10-17 04:10:37 +08:00
fisker Cheung cf35887b99 Fix plugin name in options (#18082) 2025-10-16 07:42:24 +08:00
fisker Cheung 9871b4931c Fix vistor keys for FunctionExpression (#18084) 2025-10-16 07:18:38 +08:00
fisker Cheung d3da764b37 Format files in tests/integration/plugins/ (#18083) 2025-10-16 06:56:41 +08:00