Commit Graph
100 Commits
Author SHA1 Message Date
fisker Cheung 9e60e840dd Refactor js embed print to use test/print pattern (#17963) 2025-09-25 09:00:10 +08:00
fisker Cheung be9adeb38b Split HTML attribute printers into test/print (#17961) 2025-09-25 08:21:23 +08:00
fisker Cheung 11540f6377 Simplify embed html detection (#17962) 2025-09-25 07:18:04 +08:00
fisker Cheung aa556151e2 Refactor embed format in HTML (#17960) 2025-09-25 05:45:58 +08:00
fisker Cheung 2ac07333b6 More parsers on reserved word tests (#17959) 2025-09-25 03:51:07 +08:00
fisker Cheung d8b26a69f1 Add tests for invalid JSX code (#17958) 2025-09-25 03:24:39 +08:00
fisker Cheung 80a016b0f9 Clean up Babel parser (#17956) 2025-09-24 18:47:51 +08:00
fisker Cheung 21e98808a8 Add front-matter/index.js (#17955) 2025-09-24 08:56:18 +08:00
fisker Cheung 67329f4108 Use imports to replace hack in build script (#17953) 2025-09-24 08:24:17 +08:00
fisker Cheung 07007103d4 Use arrow function in simple functions (#17951) 2025-09-24 06:09:15 +08:00
fisker Cheung 857b380010 Improve editorConfigToPrettier (#17512) 2025-09-24 06:02:25 +08:00
fisker Cheung e48f0eaf78 Fix TSMappedType format with babel-ts parser (#17785) 2025-09-24 05:49:53 +08:00
fisker Cheung b35ef6a549 Refactor Markdown pragma related logic (#17950) 2025-09-24 05:43:10 +08:00
fisker Cheung 3c8e5aa8e6 Add "sideEffects": false to package.json (#17949) 2025-09-24 04:20:44 +08:00
fisker Cheung 4ec2648e61 Add location information to parseFrontMatter() (#17948) 2025-09-24 04:15:01 +08:00
fisker Cheung 6df61307be Avoid unnecessary getUnescapedAttributeValue() call (#17947) 2025-09-24 02:35:31 +08:00
fisker Cheung e1f0bdceb2 Fix HTML attribute value in AST massage (#17944) 2025-09-24 02:20:56 +08:00
fisker Cheung c885875926 Fix HTML frontMatter in AST massage (#17946) 2025-09-24 02:19:38 +08:00
fisker Cheung 85e1c89e3b Fix HTML docType value in AST massage (#17945) 2025-09-24 02:13:27 +08:00
fisker Cheung 6ec66d80fc Improve single expression detection (#17943) 2025-09-24 02:02:37 +08:00
fisker Cheung 68aaa32b34 Update yarn to v4.10.3 (#17942) 2025-09-24 01:39:32 +08:00
fisker Cheung b7b2b0d434 Print trailing comma in TSImportType options (#17798) 2025-09-23 17:51:36 +08:00
fisker Cheung 29622cc4f7 Fix comments get duplicated in angular interpolation (#17862) 2025-09-23 17:42:16 +08:00
fisker Cheung c9df58f5f9 Enable @stylistic/spaced-comment rule (#17941) 2025-09-23 17:24:03 +08:00
fisker Cheung f7598377bd Fix types entry for @prettier/plugin-{hermes,oxc} (#17937) 2025-09-23 06:28:11 +08:00
fisker Cheung 74744dc568 Test invalid syntax on oxc-ts parser (#17593) 2025-09-23 05:12:51 +08:00
fisker Cheung e2789c3395 Forbid empty type argument/parameter list in oxc-ts parser (#17870) 2025-09-23 02:09:33 +08:00
fisker Cheung 52102c976c Regenerate lock file (#17927) 2025-09-19 15:34:13 +08:00
fisker Cheung 3391910ae4 Reinstall @prettier/cli (#17926) 2025-09-19 15:13:52 +08:00
fisker Cheung d0865a72d9 Update yarn to v4.10 (#17920) 2025-09-19 14:18:01 +08:00
fisker Cheung afd57d3247 Allow parser.preprocess to return a Promise (#17679) 2025-09-12 05:03:05 +08:00
fisker Cheung 0e4baf561d Fix config file names order (#17685) 2025-09-12 05:02:16 +08:00
fisker Cheung 1520a58879 Fix format of comments around ChainExpression (#17723) 2025-09-12 05:01:51 +08:00
fisker Cheung 071d2d8fa0 Add automated job to clean cspell.json yearly (#17900) 2025-09-12 02:42:33 +08:00
fisker Cheung 479a54de66 Add missing parentheses to arrow function in TSInstantiationExpression (#17724) 2025-09-12 01:53:02 +08:00
fisker Cheung 5e93f1caa2 Fix crash on CSS custom properties (#17899) 2025-09-12 01:44:38 +08:00
fisker Cheung c2623bc6a0 Build: stop transforming optional chaining (#17863) 2025-09-12 01:35:29 +08:00
fisker Cheungandautofix-ci[bot] 8643c8ff89 Remove unnecessary path parameters (#17867)
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-09-12 01:34:34 +08:00
fisker Cheung d64bd760e6 Update leven and vnopts (#17884) 2025-09-12 00:23:06 +08:00
fisker Cheung 0261517f75 Forbid empty type argument/parameter list in babel-ts parser (#17869) 2025-09-09 22:34:36 +08:00
fisker Cheung 1c18b71833 Improve CSS attribute value unquote regular expression (#17864) 2025-09-09 17:14:44 +08:00
fisker Cheung dc2ba93e78 Fix renovate config validate (#17840) 2025-09-02 01:07:38 +08:00
fisker Cheung 66e85bc37a Update yarn to v4.9.4 (#17826) 2025-08-30 15:48:34 +08:00
fisker Cheung 24921a4e56 Fix typescript config test on Node.js v22 (#17787) 2025-08-11 16:02:28 +08:00
fisker Cheung 0864823c52 Validate doc with __js_expression in playground (#17668) 2025-08-05 15:54:42 +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
fisker Cheung 23f95644f5 Stop auto test babel-flow in tests (#17686) 2025-07-28 16:19:26 +08:00
fisker Cheung aed5c585fa Support Angular 20.1 (#17722) 2025-07-18 10:41:03 +08:00
fisker Cheung d49d64c280 Use lang instead of fake file name in oxc parser (#17726) 2025-07-14 00:26:11 +08:00
fisker 51739c9fab Bump Prettier dependency to 3.6.2 2025-06-27 10:56:48 +08:00
fisker 0b6b58e3ee Clean changelog_unreleased 2025-06-27 10:56:14 +08:00
fisker 7a8b05f415 Release 3.6.2 2025-06-27 10:51:59 +08:00
fisker Cheungandautofix-ci[bot] 46526b49b6 Add missing blank line around code block (#17675)
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-06-27 10:48:16 +08:00
fisker Cheung b55e777924 Update docs about "TypeScript Configuration Files" (#17677) 2025-06-26 09:40:24 +08:00
fisker cc00cc1072 Fix "Linting files" step 2025-06-25 15:06:36 +08:00
fisker 5272010b01 Bump Prettier dependency to 3.6.1 2025-06-25 14:47:52 +08:00
fisker 7be05ab5a4 Clean changelog_unreleased 2025-06-25 14:47:06 +08:00
fisker 2bfff20275 Release 3.6.1 2025-06-25 14:40:52 +08:00
fisker cb8af6c59b Disable "Linting files" step on release 2025-06-25 14:40:00 +08:00
fisker Cheung 4292cbf2ef Disable experimentalRawTransfer for oxc parser (#17663) 2025-06-24 10:16:38 +08:00
fisker Cheung 0926587a5f Allow const without initializer in oxc-ts parser (#17654) 2025-06-24 00:26:42 +08:00
fisker Cheung 75bdb5d5de Add issue link for the experimental CLI (#17659) 2025-06-23 19:13:45 +08:00
fisker Cheung 93bc1dfd0f Allow const without initializer in babel-ts parser (#17650) 2025-06-23 18:31:03 +08:00
fisker Cheung 566467a671 Replace bun exec with bunx in docs (#17647) 2025-06-23 16:10:18 +08:00
fisker Cheung a36e515682 Update dependents count (#17644) 2025-06-23 10:45:30 +08:00
fisker Cheung 741b2e1f98 Move CLI changelog upper (#17643) 2025-06-23 10:36:31 +08:00
fisker b8a1d087d8 Add steps back 2025-06-23 10:19:15 +08:00
fisker 44affdc858 Bump Prettier dependency to 3.6.0 2025-06-23 10:11:39 +08:00
fisker f67b32ba66 Clean changelog_unreleased 2025-06-23 10:10:54 +08:00
fisker 57481e52e4 Merge github.com:prettier/prettier 2025-06-23 10:10:40 +08:00
fisker fd2703d738 Disable finished steps to continue 2025-06-23 10:10:21 +08:00
fisker 932794586b Fix "Merge release notes PR" step 2025-06-23 10:09:24 +08:00
fisker e1c8095fd0 Release 3.6.0 2025-06-23 10:00:51 +08:00
fisker 9dfcdcb06a Disable "Linting files" step 2025-06-23 09:59:53 +08:00
fisker 64e0147951 get previous version from package.json 2025-06-23 09:31:26 +08:00
fisker 1a32b27e6a Release @prettier/plugin-oxc and @prettier/plugin-hermes 2025-06-23 09:22:14 +08:00
fisker Cheung e0055d2f03 Avoid break TSImportType with long module name (#17637) 2025-06-23 09:19:31 +08:00
fisker Cheung b4522b490a Add badge to plugins (#17639) 2025-06-23 08:50:18 +08:00
fisker Cheung 25e214543e Add test for #11526 (#17551) 2025-06-23 07:50:29 +08:00
fisker Cheungandautofix-ci[bot] f41214b2f1 Add changelog for hermes and oxc plugin (#17629)
* Add changelog for `hermes` and `oxc` plugin

* Apply automated changes

* Move to `flow/`

* Spellcheck

* Reword

* Reword

* Apply automated changes

* Fix

* Reword

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-06-22 00:49:06 +09:00
fisker 94d6bbae8e Add publishConfig to @prettier/plugin-* 2025-06-20 04:49:55 +08:00
fisker Cheung 8d53e726a1 Remove since from SupportLanguage and ChoiceSupportOption.options types (#17578) 2025-06-20 04:12:51 +08:00
fisker Cheung f88d7ec17b Rename test:dist* scripts to test:production* (#17579) 2025-06-20 04:12:18 +08:00
fisker Cheung dd8d59b983 Fix isTypeModuleObjectExpression (#17599) 2025-06-20 04:11:49 +08:00
fisker Cheung 7a91dc4a59 Revert "Support type cast comments for espree parser (#17587)" (#17614) 2025-06-19 15:49:38 +08:00
fisker Cheung e4aba51f9c Decrease CI timeout-minutes to 15mins (#17603)
Decrease CI `timeout-minutes` to 15m
2025-06-14 05:30:28 +08:00
fisker Cheung 17cdff607a Support type cast comments for meriyah parser (#17600) 2025-06-13 17:27:07 +08:00
fisker Cheung 3b0f33539f Support type cast comments for espree parser (#17587) 2025-06-13 16:56:42 +08:00
fisker Cheung 1bcdc07ace Forbid parenthesized expressions in JSON (#17598) 2025-06-12 20:03:29 +08:00
fisker Cheung 98b7dd03ab Add checkPrivateFields: false to acorn parser (#17594) 2025-06-12 04:52:36 +08:00
fisker Cheung 079aebf8b1 Remove supportTypeCastComments passed to postprocess (#17588) 2025-06-11 01:50:56 +08:00
fisker Cheung 948a54bdbf Refine prepare-test-for-legacy-nodejs script (#17591) 2025-06-10 20:30:26 +08:00
fisker Cheung 2c7f02a7ab Enable decorators tests on flow and typescript parser (#17484) 2025-06-09 16:28:45 +08:00
fisker Cheung 9aa661ac50 Remove esm-utils from "generate-changelog" script (#17559) 2025-06-08 16:53:59 +08:00
fisker Cheung 4973687969 Update website build script (#17577) 2025-06-08 16:52:42 +08:00
fisker Cheung 64552a44e3 Include printer in @prettier/plugin-oxc and @prettier/plugin-hermes (#17567) 2025-06-07 18:21:31 +08:00
fisker Cheung 80a3b919ea Update linguist-languages to v8 (#17569) 2025-06-07 17:35:33 +08:00
fisker Cheung 0f5fee8fac Switch test runner to childProcess (#17571) 2025-06-07 17:25:46 +08:00
fisker Cheung f03061ae8d Fix experimental-cli test (#17570) 2025-06-06 03:06:03 +08:00