Commit Graph
136 Commits
Author SHA1 Message Date
fisker Cheung 9ebc4a7142 Remove an invalid test case (#18692) 2026-01-21 02:02:12 +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 c9eb4bcd9e Remove useless u flags in regular expressions (#18509) 2025-12-21 23:44:08 +08:00
fisker Cheung 01363e7310 Refactor builtin plugins creation (#18481) 2025-12-14 23:22:28 +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 Cheung 7b66b5ed88 Remove Experimental{Rest,Spread}Property from visitorKeys (#18433)
Remove `ExperimentalRestProperty` and `ExperimentalSpreadProperty` from visitorKeys
2025-12-06 19:24:38 +08:00
fisker Cheung d3eb2b2d08 Reuse arrays in visitor keys (#18386) 2025-12-01 19:33:56 +08:00
fisker Cheung e240f15e75 Major refactor (#18381) 2025-12-01 07:25:25 +08:00
fisker Cheung 3e770b95a7 Fix string print (#18351) 2025-11-28 20:52:53 +08:00
renovate[bot]andfisker fad27abf37 chore(deps): update dependency meriyah to v7 (#18332)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: fisker <lionkay@gmail.com>
2025-11-27 13:19:42 +08:00
fisker Cheung 864bb7c042 Use TSImportType.source (#18319) 2025-11-25 04:16:22 +08:00
fisker Cheung 18c0f26bec Allow AstPath#call() to access property of nullish properties (#17860) 2025-11-17 20:56:20 +08:00
fisker Cheung beecab8e2e Support graphql v16.12 "executable descriptions" (#18214) 2025-11-04 20:14:15 +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
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
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
fisker Cheung eca05c1750 Fix visitor keys for TypePredicate (#18090) 2025-10-17 04:10:37 +08:00
fisker Cheung 9871b4931c Fix vistor keys for FunctionExpression (#18084) 2025-10-16 07:18:38 +08:00
fisker Cheungandautofix-ci[bot] 858ace6ffa Forbid rename path in callbacks (#18038)
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-10-11 01:46:03 +08:00
fisker Cheung 65d1dfb422 Cleanup {JSXOpeningElement,TSClassImplements,TSInterfaceHeritage}.typeParameters (#18028) 2025-10-10 16:41:24 +08:00
Nicolò Ribaudoandfisker 6437b6dadf Update Babel to v8 (#15157)
Co-authored-by: fisker <lionkay@gmail.com>
2025-09-24 10:31:22 +08:00
fisker Cheung 857b380010 Improve editorConfigToPrettier (#17512) 2025-09-24 06:02:25 +08:00
Sam Zhou e30c8e6184 Support new Flow feature: opaque type with lower and upper bounds (#17792) 2025-08-13 09:53:29 +08:00
fisker Cheungandautofix-ci[bot] 95ef24d1f0 Support "Discard Bindings" proposal (#17708)
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-08-04 15:41:42 +08:00
fisker Cheung acd25a9aa6 Support flow "match" syntax (#17681) 2025-08-04 15:27:10 +08:00
renovate[bot]andfisker b864637ebd chore(deps): update dependency @prettier/html-tags to v1.1.0 (#17756)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: fisker <lionkay@gmail.com>
2025-07-26 12:27:05 +08:00
fisker Cheungandautofix-ci[bot] 7fb9875413 Allow plugin override builtin parsers when inferring parser (#17549)
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-06-05 17:23:49 +08:00
fisker Cheung 3c1475b1e7 Refactor Enum print (#17497) 2025-05-27 11:24:41 +08:00
fisker Cheung a358006a92 Rewrite TSMappedType print (#17498) 2025-05-27 09:11:00 +08:00
fisker Cheung d4fd92e266 Bundle "Experimental CLI" (#17396) 2025-05-06 10:34:05 +08:00
fisker Cheung 45d3498377 Switch html-tag-names to @prettier/html-tags (#17408) 2025-04-27 03:06:22 +08:00
fisker Cheung b289ecbb19 Remove support for tupleAndRecord (#17363) 2025-04-17 04:53:05 +08:00
fisker Cheung b3d1f8cdc2 Add mjml parser (#17339) 2025-04-14 08:12:53 +08:00
Seiyaandfisker Cheung 97d8115d18 Resolve rule of fill violation in JSX and add assertion. (#16700)
* add stricter assertion into fill()

* resolve rule of fill issue. some comments and naming can be problematic.

* cleanup

* update comments

* rename printWhitespace -> printStringOrLine

* refine isValidSeparator() a bit

* remove FIXME comment for fixed issue

* fix idempotency problem in MDX

* add changelog

* rename assertDocFill() -> assertDocFillParts()

* add test for assertDocFillParts()

* replace cleanDoc(doc) === "" by isEmptyDoc(doc)

* Update src/document/utils/assert-doc.js

Co-authored-by: fisker Cheung <lionkay@gmail.com>

---------

Co-authored-by: fisker Cheung <lionkay@gmail.com>
2025-01-21 13:09:32 +09:00
renovate[bot]andfisker 5e610717c0 chore(deps): update babel to v7.26.5 (#16989)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: fisker <lionkay@gmail.com>
2025-01-20 14:02:23 +08:00
renovate[bot]andfisker 2c8440ebee chore(deps): update typescript-eslint to v8.13.0 (#16825)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: fisker <lionkay@gmail.com>
2024-11-09 17:28:41 +08:00
fisker Cheung 51d943abcf Remove outdated node type "Import" (#16831) 2024-11-09 12:00:34 +08:00
renovate[bot]andfisker 3e4b452b4a chore(deps): update babel to v7.26.2 (#16811)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: fisker <lionkay@gmail.com>
2024-10-31 18:24:42 +08:00
fisker Cheung 1abee7352f Build: Add experimental_preserveFormat to @babel/generator (#16804) 2024-10-31 00:05:28 +08:00
renovate[bot]andfisker 9066ba83a2 chore(deps): update babel to v7.26.0 (#16795)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: fisker <lionkay@gmail.com>
2024-10-29 17:39:52 +08:00