Commit Graph
100 Commits
Author SHA1 Message Date
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
fisker Cheung 9bf7f1b971 Consistent formatting for "new expression" with type cast (#18507) 2025-12-21 16:54:45 +08:00
fisker Cheung ac6875153c Exclude production plugin entry from coverage report (#18484) 2025-12-15 03:11:24 +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
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
8a0f687f6e Refactor playground to use Vue (#18463)
Co-authored-by: fisker <172584+fisker@users.noreply.github.com>
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
2025-12-10 23:48:10 +08:00
fisker Cheung 1cc6367856 Update renovate.json5 (#18457) 2025-12-10 03:49:54 +08:00
fisker Cheung a9c0ce927b Replace editorconfig with editorconfig-without-wasm (#18452) 2025-12-09 23:21:27 +08:00
fisker Cheung 8cd31f577c Add gfm-test-suite (#18445) 2025-12-08 10:48:49 +08:00
fisker Cheung 8ee96d64e5 Switch to commonmark-test-suite (#18444) 2025-12-08 10:18:39 +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
fisker Cheung 94a8634300 Further improve ESTree type definition (#18436) 2025-12-07 08:12:46 +08:00
fisker Cheung dc1c55b223 Improve ESTree type definition (#18435) 2025-12-07 07:20:19 +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 1f6ba74b87 Extract shouldAddParenthesesToIdentifier (#18432) 2025-12-06 17:46:42 +08:00
fisker Cheung b6cf29f3d0 Remove redundant parentheses around SequenceExpression and AssignmentExpression (#18142) 2025-12-06 17:10:37 +08:00
fisker Cheung bdab9d8845 Extract printReturnStatement (#18431) 2025-12-06 16:51:31 +08:00
fisker CheungandAlexander Kachkaev 74366fcf1d Preserve number and string representation in json-stringify parser (#18405)
Co-authored-by: Alexander Kachkaev <alexander@kachkaev.ru>
2025-12-06 14:47:35 +08:00
fisker Cheung a7b8a4f77d Avoid linebreaks in embedded template interpolations (#18380) 2025-12-06 14:45:25 +08:00
fisker Cheung d8bf3989bd Update docs to encourage user import plugin themself (#18411) 2025-12-06 14:43:36 +08:00
fisker CheungandAlexander Kachkaev 374138ac6b Improve if condition break (#18401)
Co-authored-by: Alexander Kachkaev <alexander@kachkaev.ru>
2025-12-06 14:39:00 +08:00
fisker Cheung ce664cce5c Add test for commonmark spec (#18428) 2025-12-06 00:24:51 +08:00
fisker Cheungandrenovate[bot] 7dc8894993 Add test for --debug-benchmark flag (#18410)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-12-05 21:05:51 +08:00
fisker Cheung 0e9d67c965 Remove lint step from release script (#18415) 2025-12-05 21:04:19 +08:00
fisker Cheung f6bd3cbd8a Rewrite build script (#18427) 2025-12-05 04:53:15 +08:00
fisker 7af999c205 Fix typo 2025-12-03 12:39:37 +08:00
fisker a3181436d9 Merge branch 'v3.7' 2025-12-03 12:39:01 +08:00
fisker 3a88525d48 Bump Prettier dependency to 3.7.4 2025-12-03 12:37:53 +08:00
fisker ddfa283b0d Clean changelog_unreleased 2025-12-03 12:37:14 +08:00
fisker 7848357af6 Release 3.7.4 2025-12-03 12:33:49 +08:00
fisker 7686c59d51 Release @prettier/plugin-hermes & @prettier/plugin-oxc v0.1.3 2025-12-03 12:31:34 +08:00
fisker Cheung 030e43ebf2 Use prettier.prettier-vscode instead of the legacy one (#18374) 2025-12-02 22:15:30 +08:00
fisker Cheung c1e72d0b95 Forbid invalid parameter properties (#18318) 2025-12-02 20:01:12 +08:00
fisker Cheung edb53db4b1 Move code (#18399) 2025-12-02 06:49:28 +08:00
fisker Cheung 9b8f6e86ac Avoid double parentheses around logical expression (#18397) 2025-12-02 06:00:26 +08:00
fisker Cheung fe494348a0 Remove dead code checking union/intersection types length (#18396) 2025-12-02 03:24:45 +08:00
fisker Cheung ca02b37489 Fix unstable comment print (#18395) 2025-12-02 03:24:17 +08:00
fisker Cheung 7efb988c67 Fix comment in union type get duplicated (#18393) 2025-12-02 01:46:31 +08:00
fisker Cheung 706aa4ef90 Switch js parse postprocess to onEnter (#18382) 2025-12-01 19:36:05 +08:00
fisker Cheung d3eb2b2d08 Reuse arrays in visitor keys (#18386) 2025-12-01 19:33:56 +08:00
fisker Cheung 363a20e1c1 Improve getPreferredQuote (#18366) 2025-12-01 08:37:51 +08:00
fisker Cheung 95c4dd6f7e Minor tweak to end-of-line.js (#18367) 2025-12-01 08:20:20 +08:00
fisker Cheung 6fe966693e Add endOfLine option to playground (#18370) 2025-12-01 07:51:03 +08:00
fisker Cheung 36380d9a70 Improve printDirective (#18371) 2025-12-01 07:47:47 +08:00
fisker Cheung e240f15e75 Major refactor (#18381) 2025-12-01 07:25:25 +08:00
fisker 45a738c7c0 Remove .gitpod.yml 2025-11-30 02:46:38 +08:00
fisker fc9b44fd0c Bump Prettier dependency to 3.7.3 2025-11-30 01:56:59 +08:00
fisker 07d318183f Clean changelog_unreleased 2025-11-30 01:56:17 +08:00
fisker fdfa670176 Release 3.7.3 2025-11-30 01:52:37 +08:00
fisker 2dce3ec090 Fix typo 2025-11-30 01:50:52 +08:00
fisker Cheung 27d6c645ca Revert previous change to getFileInfo (#18375) 2025-11-30 01:41:34 +08:00
fisker Cheung f4a7afaebf Add types for config related functions (#18376) 2025-11-30 01:39:58 +08:00
fisker 3bfc014442 Bump Prettier dependency to 3.7.2 2025-11-29 04:59:44 +08:00
fisker 081b84695b Clean changelog_unreleased 2025-11-29 04:59:00 +08:00
fisker 03384c964d Release 3.7.2 2025-11-29 04:56:31 +08:00
fisker 514e51afa2 Release @prettier/plugin-hermes & @prettier/plugin-oxc v0.1.2 2025-11-29 04:54:03 +08:00
fisker Cheung 29a11ae1ae Fix comment in empty type literal (#18364) 2025-11-29 00:00:52 +08:00
fisker Cheung 7a020bdb40 Fix release script (#18363) 2025-11-28 22:58:44 +08:00
fisker Cheung 3e770b95a7 Fix string print (#18351) 2025-11-28 20:52:53 +08:00
fisker 11eecba6b8 Bump Prettier dependency to 3.7.1 2025-11-27 19:33:40 +08:00
fisker b580d60371 Clean changelog_unreleased 2025-11-27 19:32:57 +08:00
fisker 47c40b3024 Release 3.7.1 2025-11-27 19:30:08 +08:00
fisker 99df0718d1 Release @prettier/plugin-hermes & @prettier/plugin-oxc v0.1.1 2025-11-27 19:26:46 +08:00
fisker Cheung d147f67ef1 Fix performance regression in doc printer (#18342) 2025-11-27 19:24:17 +08:00
fisker 1fe6a12557 Git blame ignore 3.7.0 2025-11-27 16:32:25 +08:00
fisker 3a098e32d4 Bump Prettier dependency to 3.7.0 2025-11-27 16:32:24 +08:00
fisker c4905e5be9 Clean changelog_unreleased 2025-11-27 16:31:35 +08:00
fisker Cheungandautofix-ci[bot] 43236e234e Add blog post for v3.7 (#18323)
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-11-27 16:31:22 +08:00
fisker 8147dddb91 Release 3.7.0 2025-11-27 16:27:28 +08:00
fisker 8a59916b43 Release @prettier/plugin-hermes & @prettier/plugin-oxc v0.1.0 2025-11-27 16:23:16 +08:00
fisker Cheung 2ea743302c Add types for Espree back (#18339) 2025-11-27 15:56:57 +08:00
fisker Cheung 2bcc3c2a54 User sourceType: 'commonjs' where possible (#18333) 2025-11-27 15:46:53 +08:00
fisker Cheung 36042ef3d1 Update website (#18326) 2025-11-26 20:53:25 +08:00
fisker Cheung 6ba133e80c Improve super class (or single heritage) breaking (#18325) 2025-11-26 19:43:08 +08:00
fisker Cheung bbdec54a41 Fix a test for computed string key in enum (#18322) 2025-11-26 14:06:29 +08:00