Commit Graph
100 Commits
Author SHA1 Message Date
fisker Cheung 893fd3b120 Add isTypeAnnotation (#19921) 2026-08-26 03:29:23 +08:00
fisker Cheung bb52ae36d5 Allow recovery of invalid labels (#19920) 2026-08-26 03:14:51 +08:00
fisker Cheungandautofix-ci[bot] d9969c5734 Fix isSetextHeading (#19912)
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-08-23 16:13:56 +08:00
fisker Cheung b7cf310ee5 Align characterReferenceRegex with micromark-util-decode-string (#19891) 2026-08-22 06:11:09 +08:00
fisker Cheung 8d2aeedae5 Fix TSX support for oxc-ts and yuku-ts parser (#19909) 2026-08-22 06:09:47 +08:00
fisker Cheung 055dba4258 Fix comment in destructuring patterns for Flow parser (#19902) 2026-08-20 20:14:15 +08:00
fisker Cheung 9f114788fd Test flow parser that both valid in ts and flow (#19901) 2026-08-20 20:00:38 +08:00
fisker Cheung aaa71f4b0e Add test for comment in destructuring patterns (#19900) 2026-08-20 19:45:16 +08:00
fisker Cheung 07b7a29f51 Add test for comments in parameter/argument list (#19898) 2026-08-20 18:54:58 +08:00
fisker Cheung e7b8a4f86e Fix comments around heritage clauses (#19897) 2026-08-20 18:53:23 +08:00
fisker Cheung 1846ea9fef Simplify printTitle (#19890) 2026-08-19 07:15:07 +08:00
fisker Cheung 682af374c3 Fix example in rationale.md (#19889) 2026-08-19 06:40:50 +08:00
fisker Cheung 91ee328608 Add test for invalid initializer in for..in (#19888) 2026-08-19 06:25:19 +08:00
fisker Cheung 5d2f938850 Add tests for decorators on rest parameters (#19885) 2026-08-19 05:58:41 +08:00
fisker Cheung 4c5e7b9d63 Add yuku-ts to error tests (#19852) 2026-08-18 17:36:22 +08:00
fisker Cheung 16239f3673 Refactor markdown whitspace node print (#19861) 2026-08-16 18:47:24 +08:00
fisker Cheung bee1399282 Improve tests for JSX quotes (#19856) 2026-08-15 17:30:50 +08:00
fisker Cheung acb755b040 Add test for namespaced attribute (#19855) 2026-08-15 17:16:14 +08:00
fisker Cheung 6ec8503550 Improve JSX tests (#19854) 2026-08-15 16:57:54 +08:00
560146e644 Markdown: Fix liquid flow parsing (#19838)
Co-authored-by: codex <codex@openai.com>
Co-authored-by: fisker Cheung <lionkay@gmail.com>
Co-authored-by: wanxiankai <xiankai.wan@gmail.com>
Co-authored-by: seiya <20365512+seiyab@users.noreply.github.com>
2026-08-15 10:05:46 +08:00
fisker Cheung 414e453ae9 Fix typo in tests (#19846) 2026-08-13 18:47:36 +08:00
fisker Cheung a79dc0f20b Move TS error tests (#19845) 2026-08-13 18:38:31 +08:00
fisker Cheung d204179e7c Reorganize JS error tests (#19844) 2026-08-13 18:25:33 +08:00
fisker Cheung d6faa1ec44 Switch json5 to @bybrave/json5 (#19843) 2026-08-13 17:28:45 +08:00
fisker Cheung 887af16172 Add abandonmentThreshold to renovate.json5 (#19842) 2026-08-13 15:59:45 +08:00
fisker Cheung 7141699326 Support Node.js nightly version in version check (#19837) 2026-08-13 07:35:02 +08:00
fisker Cheungandrenovate[bot] bbd9839bab Fix import.defer() (#19703)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-08-04 22:42:39 +08:00
fisker Cheung 315f281982 Add test for return in static block (#19774) 2026-08-03 10:32:12 +08:00
fisker Cheung 19a0444ce4 Add test for commonjs features (#19766) 2026-08-02 16:02:35 +08:00
fisker Cheung de5c0171d6 Improve "flow-ambient" test (#19768) 2026-08-02 16:01:41 +08:00
fisker Cheung 60f03eae59 Refactor BindExpression test (#19759) 2026-07-31 18:27:43 +08:00
fisker Cheung 4f4d1979dd Update .gitattributes (#19757) 2026-07-30 20:42:35 +08:00
fisker Cheung fd56f7a52a Cleanup failed tests (#19749) 2026-07-29 22:39:32 +08:00
fisker Cheung 9df49a5516 Support import defer and import source in meriyah (#19721) 2026-07-29 22:10:20 +08:00
fisker Cheung 4ee502aeba Stop measuring patch in codecov config (#19732) 2026-07-27 10:17:56 +08:00
fisker Cheung 1997119021 Simplify lone surrogate check for meriyah (#19729) 2026-07-27 01:07:07 +08:00
fisker Cheung 3a106fdff1 Fix embedded template literal idempotency (#19725) 2026-07-26 16:35:21 +08:00
fisker Cheung bfb1eacd89 Fix HTML attribute name normalization (#19709) 2026-07-25 08:08:13 +08:00
fisker Cheung 9f070f2f7e Replace html-element-attributes with @prettier/html-attributes (#19707) 2026-07-25 06:35:22 +08:00
fisker Cheung 4f84a93420 Update meriyah to v7.2 (#19702) 2026-07-24 09:12:15 +08:00
fisker Cheung b2117a8065 Remove please-upgrade-node (#19697) 2026-07-24 08:51:20 +08:00
fisker Cheung d45e610e7e Tweak renovate config (#19694) 2026-07-23 14:22:25 +08:00
fisker Cheung 3cfbdbddbc Extract printCssDeclaration (#19690) 2026-07-22 20:29:32 +08:00
fisker Cheung 57f6882d2b Minor tweak to build script (#19686) 2026-07-22 09:31:56 +08:00
fisker 4c80b6b319 Fix lock file 2026-07-21 14:25:48 +08:00
fisker 82966bd49f Clean released changelog
Keep changelog_unreleased/javascript/19629.md to announce in minor release again
2026-07-21 14:09:27 +08:00
fisker 8609180f56 Merge branch 'v3.9.x'
# Conflicts:
#	package.json
#	packages/plugin-yuku/README.md
#	packages/plugin-yuku/package.json
#	website/versioned_docs/version-stable/browser.md
#	yarn.lock
2026-07-21 14:07:00 +08:00
fisker 558e3002a3 Release @prettier/plugin-hermes@0.2.2, @prettier/plugin-oxc@0.2.2, and @prettier/plugin-yuku@0.0.1 2026-07-21 13:56:39 +08:00
fisker 612bb495a8 Bump Prettier dependency to 3.9.6 2026-07-21 13:54:17 +08:00
fisker 8e74e5937f Clean changelog_unreleased 2026-07-21 13:53:04 +08:00
fisker 8f0c95057c Release 3.9.6 2026-07-21 13:50:05 +08:00
fisker e9107647d0 Update changelog 2026-07-21 13:46:07 +08:00
fisker CheungandCopilot Autofix powered by AI 4716e5f575 Improve error message (#19671)
Co-authored-by: Copilot Autofix powered by AI <223894421+github-code-quality[bot]@users.noreply.github.com>
2026-07-19 10:25:41 +08:00
fisker Cheung 351e399362 YAML: Preserve order of anchor and tag (#19599) 2026-07-19 10:20:39 +08:00
fisker Cheung fe0acca210 Fix typo 2026-07-19 08:42:37 +08:00
fisker Cheung 218ac47092 Exclude prettier license from plugins (#19668) 2026-07-18 14:20:53 +08:00
fisker Cheung 0a18fecd2b Consistently use array in overrides.files (#19667)
Consistently use array in `overrires.files`
2026-07-18 14:01:25 +08:00
fisker Cheung 9ad3be786e Correct config example for hermes,oxc, and yuku plugins (#19666) 2026-07-18 13:44:40 +08:00
fisker Cheung 35c43a1991 Remove eslint-formatter-friendly (#19663) 2026-07-18 11:55:49 +08:00
fisker Cheung d9e922cabd Fix comment around nullish coalescing (#19652) 2026-07-17 13:52:03 +08:00
fisker Cheung 3bbb8159eb Remove typescript-only directory (#19636) 2026-07-17 10:32:20 +08:00
fisker Cheung 8f8fa1b026 Remove typescript-babel-only directory (#19635) 2026-07-17 10:32:06 +08:00
fisker Cheung 904f04f3ed Add yuku-ts parser (#19629)
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
# Conflicts:
#	tests/format/js/deferred-import-evaluation/__snapshots__/format.test.js.snap
2026-07-17 10:31:54 +08:00
fisker Cheung 1b246f896d Add yuku parser (#19628)
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
# Conflicts:
#	tests/format/js/deferred-import-evaluation/__snapshots__/format.test.js.snap
2026-07-17 10:30:10 +08:00
fisker Cheung 5e6610e815 [3.9.x] Support import defer (#19624) 2026-07-17 10:27:51 +08:00
fisker CheungandCopilot Autofix powered by AI 36bc0b7ef4 Improve error message for lint-change script (#19641)
Co-authored-by: Copilot Autofix powered by AI <223894421+github-code-quality[bot]@users.noreply.github.com>
2026-07-16 00:15:21 +08:00
fisker CheungandCopilot Autofix powered by AI 314e61a8f3 Potential fixes for 2 code quality findings (#19640)
Co-authored-by: Copilot Autofix powered by AI <223894421+github-code-quality[bot]@users.noreply.github.com>
2026-07-16 00:08:42 +08:00
fisker CheungandCopilot Autofix powered by AI 9a59059023 Potential fixes for 2 code quality findings (#19639)
Co-authored-by: Copilot Autofix powered by AI <223894421+github-code-quality[bot]@users.noreply.github.com>
2026-07-16 00:05:49 +08:00
fisker Cheung 982e978438 Fix link to graphql plugin (#19638) 2026-07-15 23:58:34 +08:00
fisker CheungandCopilot Autofix powered by AI de5a32c413 Potential fixes for 3 code quality findings (#19637)
Co-authored-by: Copilot Autofix powered by AI <223894421+github-code-quality[bot]@users.noreply.github.com>
2026-07-15 23:56:24 +08:00
fisker Cheung 5b27d87061 Remove typescript-only directory (#19636) 2026-07-15 23:14:34 +08:00
fisker Cheung aa6e611d2b Remove typescript-babel-only directory (#19635) 2026-07-15 22:07:33 +08:00
fisker Cheung dbda419df3 Add a test for class property named async (#19634) 2026-07-15 21:48:02 +08:00
fisker Cheungandautofix-ci[bot] dc4753546b Add yuku-ts parser (#19629)
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-07-15 17:29:50 +08:00
fisker Cheungandautofix-ci[bot] 1ccdfcc15c Add yuku parser (#19628)
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-07-15 01:53:00 +08:00
fisker Cheung 41a8b99bb8 Simplify markdown list tests (#19610) 2026-07-12 16:13:39 +08:00
fisker Cheung 30a0b2d2e0 Rewrite tests for #17857 (#19609) 2026-07-12 15:42:11 +08:00
fisker Cheung 6d77df4993 Update parse package used in docs (#19604) 2026-07-12 12:16:13 +08:00
fisker Cheungandautofix-ci[bot] cb00f45d71 Add an example for how to force comment-only array or object to keep multiple line in blog post (#19605)
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-07-12 12:15:43 +08:00
fisker Cheung 1bc83147b3 Use Micromark in lint-changelog script (#19603) 2026-07-12 01:43:50 +08:00
fisker Cheung 3247e2d65c Fix JSDoc (#19601) 2026-07-11 21:46:10 +08:00
fisker Cheung 3fdaa324ef Minor improvement to shouldAddParenthesesToIdentifier (#19598) 2026-07-11 17:39:23 +08:00
fisker Cheung 1ac365bff6 Re-enable docusaurus faster (#19593) 2026-07-11 09:17:55 +08:00
fisker a207d426d1 Merge branch 'v3.9.x' 2026-07-10 22:05:08 +08:00
fisker 4a38001860 Release @prettier/plugin-hermes@0.2.1 @prettier/plugin-oxc@0.2.1 2026-07-10 21:49:42 +08:00
fisker b19b3a6107 Bump Prettier dependency to 3.9.5 2026-07-10 00:24:14 +08:00
fisker 4ae1707539 Clean changelog_unreleased 2026-07-10 00:22:23 +08:00
fisker b6c7d18068 Release 3.9.5 2026-07-10 00:10:07 +08:00
fisker Cheung 91bcac88ec Add more tests for comment-only object type (#19587) 2026-07-09 23:24:06 +08:00
fisker Cheung cbee7377a1 Remove space in empty object type (#19583) 2026-07-09 17:34:22 +08:00
fisker Cheung 6394c73209 Align empty module declaration with TS (#19568) 2026-07-09 12:57:47 +08:00
fisker Cheung 3d063b57b1 Ignore dangling comments when checking type parameter comments (#19572) 2026-07-09 11:34:36 +08:00
fisker Cheung 908503e9ee Handle dangling comments in SwitchStatement (#19581) 2026-07-09 11:28:31 +08:00
fisker Cheung 943a475c35 Angular: Support expression for exhaustive typechecking (#19571) 2026-07-09 09:28:40 +08:00
fisker 62ccd0d9bf Add paths to codeql-config.yml 2026-07-07 17:54:06 +08:00
fisker CheungandCopilot Autofix powered by AI 49583f3e20 Fix typo in docs (#19561)
Co-authored-by: Copilot Autofix powered by AI <223894421+github-code-quality[bot]@users.noreply.github.com>
2026-07-07 17:40:32 +08:00
fisker CheungandCopilot Autofix powered by AI 67fd5a7e3b Potential fix for 1 code quality finding (#19560)
Co-authored-by: Copilot Autofix powered by AI <223894421+github-code-quality[bot]@users.noreply.github.com>
2026-07-07 10:01:13 +08:00
fisker CheungandCopilot Autofix powered by AI e3d45de2e2 Fix typo in comment for code quality finding (#19559)
Co-authored-by: Copilot Autofix powered by AI <223894421+github-code-quality[bot]@users.noreply.github.com>
2026-07-07 09:53:16 +08:00
fisker Cheung a5706fb1f7 Fix typo (#19558) 2026-07-07 09:43:06 +08:00
fisker Cheung a063b6ba1b Clean up markdown "link" test (#19507) 2026-07-06 22:06:49 +08:00