Commit Graph
100 Commits
Author SHA1 Message Date
fisker Cheungandautofix-ci[bot] 3751f82fc6 Fix union type in FunctionTypeParam without name (#19397)
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-06-17 21:20:49 +08:00
fisker Cheung 8dd5cc2d02 Fix union type inside tuple type (#19396) 2026-06-17 20:44:52 +08:00
fisker Cheung bfe8858f5e Fix some unicorn/prefer-else-if violations (#19394) 2026-06-17 07:31:04 +08:00
fisker Cheung e41cbf4594 Update ESLint config (#19393) 2026-06-17 06:29:15 +08:00
fisker Cheung 638e4b82c0 Replace logical-assignment-operators with the one from unicorn (#19391) 2026-06-17 06:27:09 +08:00
fisker Cheung cf00244e01 Enable unicorn/operator-assignment rule (#19392) 2026-06-17 06:23:25 +08:00
fisker Cheung a42e063d5c Enable unicorn/no-useless-template-literals rule (#19383) 2026-06-16 09:05:58 +08:00
fisker Cheung d1da0de0f6 Reduce size of experimental-cli.mjs (#19382) 2026-06-16 08:30:06 +08:00
fisker Cheung 701280af57 Add regression test for blank lines between statements (#19380) 2026-06-16 05:31:37 +08:00
fisker Cheung 99b43f1527 Enable unicorn/no-unnecessary-splice rule (#19367) 2026-06-16 04:58:30 +08:00
fisker Cheungandautofix-ci[bot] bd3fd72f44 Enable unicorn/no-negated-array-predicate rule (#19369)
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-06-16 04:56:55 +08:00
fisker Cheung e9aa8e53c4 Enable unicorn/prefer-array-from-map rule (#19376) 2026-06-16 04:40:39 +08:00
fisker Cheung 623e101fd3 Fix some unicorn/no-declarations-before-early-exit violations (#19371) 2026-06-16 04:39:22 +08:00
fisker Cheung 5ecfee1ac5 Enable unicorn/no-error-property-assignment rule (#19377) 2026-06-16 04:28:26 +08:00
fisker Cheung 649be79d91 Enable unicorn/no-return-array-push rule (#19375) 2026-06-16 04:27:30 +08:00
fisker Cheung 7f1f8a7cd8 Enable unicorn/prefer-number-coercion rule (#19374) 2026-06-16 04:26:09 +08:00
fisker Cheungandautofix-ci[bot] 81e5eac947 Enable unicorn/no-useless-boolean-cast rule (#19373)
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-06-16 04:23:52 +08:00
fisker Cheung 3d2e9ed9ec Enable unicorn/no-negated-comparison rule (#19372) 2026-06-16 04:11:58 +08:00
fisker Cheung cf5dec976a Enable unicorn/no-duplicate-loops rule (#19370) 2026-06-16 03:55:19 +08:00
fisker Cheung ba5261dc0c Enable unicorn/prefer-number-is-safe-integer rule (#19368) 2026-06-16 03:19:32 +08:00
fisker Cheung 69531daf17 Enable unicorn/prefer-iterator-to-array rule (#19366) 2026-06-16 03:11:33 +08:00
fisker Cheung b636ad6856 Enable unicorn/no-useless-else rule (#19364) 2026-06-16 02:46:43 +08:00
fisker Cheung eb305b52fb Update yarn to v4.17 (#19363) 2026-06-16 02:26:50 +08:00
fisker Cheung 96693ea007 Improve comments (#19359) 2026-06-16 02:09:45 +08:00
fisker Cheung 7796e9aa79 Add some JSDoc comment (#19349) 2026-06-13 10:36:17 +08:00
fisker Cheung af5a278e45 Replace SDBM hash method with MurmurHash3 (#19348) 2026-06-13 10:06:18 +08:00
fisker Cheung 8b01d388c3 Regenerate flow-estree.d.ts (#19341) 2026-06-11 01:04:51 +08:00
fisker Cheung 21a8c81940 Fix bundled @babel/code-frame for test (#19340) 2026-06-10 23:58:54 +08:00
fisker Cheung 2eaad40bb2 Revert "Print ; for module declaration and declare function" (#18852) (#19333) 2026-06-10 09:22:01 +08:00
fisker Cheung 94c71e346f Remove extra parens around optional return type (#19331) 2026-06-10 08:28:51 +08:00
fisker Cheung 9c5fd587b9 Remove extra parens around ternary (#19330) 2026-06-10 06:29:16 +08:00
fisker Cheung e76e746131 Remove extra parens around jsx (#19329) 2026-06-10 06:10:50 +08:00
fisker 1cb7fcb3b1 Cleanup 2026-06-09 19:40:21 +08:00
fisker aa9c17742f Merge branch 'v3.8.x'
# Conflicts:
#	scripts/release/steps/show-instructions-after-npm-publish.js
#	src/language-markdown/print/children.js
#	tests/format/markdown/commonmark-test-suite/__snapshots__/format.test.js.snap
#	tests/format/markdown/list/__snapshots__/format.test.js.snap
#	tests/format/mdx/mdx/__snapshots__/format.test.js.snap
2026-06-09 19:36:36 +08:00
fisker 8b4eb339d4 Bump Prettier dependency to 3.8.4 2026-06-09 19:32:43 +08:00
fisker e9cbdfa1b7 Clean changelog_unreleased 2026-06-09 19:31:44 +08:00
fisker 1c6ba55391 Release 3.8.4 2026-06-09 19:28:10 +08:00
fisker Cheung e8900da916 Remove extra group around object properties (#19310) 2026-06-08 20:46:59 +08:00
fisker Cheung 4918a06e32 Add regression test for object type (#19309) 2026-06-08 19:42:27 +08:00
fisker Cheungandautofix-ci[bot] 3149f353d7 Enable unicorn/prefer-string-repeat rule (#19306)
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-06-08 18:16:28 +08:00
fisker Cheung c81bb54b5f Evaluate graphql visitor keys (#18583) 2026-06-06 11:21:39 +08:00
fisker Cheung 8cb163504a GraphQL: Support "Fragment arguments" (#19297) 2026-06-05 19:39:29 +08:00
fisker Cheung 6b0bc8e6d4 Extract code for GraphQL printer (#19298) 2026-06-05 19:19:30 +08:00
fisker Cheung 2e2a23fa08 Update GraphQL to v17 (#19175) 2026-06-05 18:49:38 +08:00
fisker Cheung 61b473aacb Add test for #4032 (#19296) 2026-06-05 17:37:05 +08:00
fisker Cheung 96f7a375bd Fix edge cases for parentheses in new expressions (#19295) 2026-06-05 17:16:35 +08:00
fisker Cheung 91f155f7f5 Support formatting LWC syntax in markdown (#19291) 2026-06-04 18:19:19 +08:00
fisker Cheung 527180393c Add note to follow PR template, add checklist for AI acknowledgment (#19289) 2026-06-04 18:00:37 +08:00
fisker Cheung 3b1acf2dea Improve formatting of leading comment of union type (#19288) 2026-06-04 17:16:15 +08:00
fisker Cheung ffcfe0efbb Do not expand object type with inline comments (#19287) 2026-06-04 16:51:53 +08:00
fisker Cheung cecb09abac Further improve handleParenthesizedExpressionTrailingComment (#19282) 2026-06-04 03:02:00 +08:00
fisker Cheung 296fbe6b7f Improve handleParenthesizedExpressionTrailingComment (#19281) 2026-06-04 02:22:52 +08:00
fisker Cheung d9e261f836 Enable tests fixed in yaml-test-suite (#19275) 2026-06-03 07:38:31 +08:00
fisker Cheung 121d0d3dd9 Revert "Fix unstable comments around parenthesized expressions (#19273)" (#19274) 2026-06-03 07:24:36 +08:00
fisker Cheung 794ca266a9 Fix unstable comments around parenthesized expressions (#19273) 2026-06-03 07:09:11 +08:00
fisker Cheung 75c46513c9 Reject declare class field with initializer (babel-ts) (#19272) 2026-06-03 07:07:55 +08:00
fisker Cheung 5c43df8963 Update yarn to v4.16 (#19268) 2026-06-03 01:46:24 +08:00
fisker Cheung 8d63dddaaa Update to yaml@2 (#18419) 2026-06-01 10:18:29 +08:00
fisker Cheung 1f1230ff8c Simplify configuration search (#19237) 2026-05-29 03:59:07 +08:00
fisker Cheung 0541e174a3 Add getOrInsertComputed and getOrInsert utilities (#19219) 2026-05-28 10:18:35 +08:00
fisker Cheung ccf365cfad Remove esm-utils from scripts (#19227) 2026-05-28 01:45:35 +08:00
fisker Cheung cf07f287e5 Update changelog related scripts (#19226) 2026-05-28 01:26:59 +08:00
fisker Cheung d33a1b0bc0 Move tests to correct location (#19223) 2026-05-27 18:20:23 +08:00
fisker Cheung c018e68c5e Refactor Object.{groupBy,hasOwn}() transform (#19218) 2026-05-27 15:19:05 +08:00
fisker Cheung 6ec71b6463 Use Object.groupBy() (#19217) 2026-05-27 14:30:27 +08:00
fisker Cheung 807e080c2c Require Node.js 22 for development build (#19216) 2026-05-27 08:21:18 +08:00
fisker Cheung 7a3737e1bf Refresh yarn.lock (#19213) 2026-05-27 07:05:43 +08:00
fisker Cheung 8adab11211 Unwrap fill with single part in cleanDoc (#13350) 2026-05-27 06:24:09 +08:00
fisker Cheung 4025d3e226 Avoid unnecessary semicolon before call signatures (#19212) 2026-05-27 06:10:32 +08:00
fisker Cheung e3e7ba0091 Update yarn to v4.15 (#19209) 2026-05-27 02:28:59 +08:00
fisker Cheung 5d7f64ef5b Disallow decorators on abstract/declare fields (#19210) 2026-05-27 02:28:30 +08:00
fisker Cheung e3d23c2cef Remove attached comments clean (#18721) 2026-05-27 02:25:26 +08:00
fisker Cheung b83cb29216 Add test for #19052 (#19207) 2026-05-27 00:36:27 +08:00
fisker Cheung c3556d9d5c Run tests on Node.js 26 (#19117) 2026-05-20 11:23:45 +08:00
fisker 9566ca8c55 Ignore get-stdin v10 in renovate.json5 2026-05-20 00:31:50 +08:00
fisker Cheung c2dd5fd9bf Remove mark-issue-duplicate workflow temporarily (#19178) 2026-05-20 00:26:43 +08:00
fisker Cheung afb9c080bd Refresh yarn.lock (#19174) 2026-05-19 21:36:58 +08:00
fisker Cheung aad6e28198 Simplify printDirectives() (#19173) 2026-05-19 21:27:39 +08:00
fisker Cheung 55cf414c14 Remove redundant line (#19168) 2026-05-19 04:39:05 +08:00
fisker Cheung 69ed5dad2a Fix code frames for glimmer and hermes parser (#19163) 2026-05-19 02:58:09 +08:00
fisker Cheung 6e51c5ef38 Update yarn to v4.14 (#19126) 2026-05-07 21:44:22 +08:00
fisker Cheung 906406f7ea Enable using tests for hermes parser (#18961) 2026-04-29 16:15:38 +08:00
fisker Cheung 074aaedbb0 Replace main branch in changelog link with tags (#19054) 2026-04-15 09:18:33 +08:00
fisker Cheung 946065810a Replace main branch in changelog link with tags (#19054) 2026-04-15 09:17:38 +08:00
fisker 8c7e6d4338 Merge branch 'v3.8.x'
# Conflicts:
#	tests/format/scss/function/__snapshots__/format.test.js.snap
2026-04-15 09:05:23 +08:00
fisker c22a003ae9 Bump Prettier dependency to 3.8.3 2026-04-15 08:58:58 +08:00
fisker 07bad1f045 Clean changelog_unreleased 2026-04-15 08:57:11 +08:00
fisker d7108a79ec Release 3.8.3 2026-04-15 08:53:50 +08:00
fisker 1c5e5b4c66 Merge branch 'v3.8.x'
# Conflicts:
#	yarn.lock
2026-04-15 08:46:42 +08:00
fisker 1cd40668c3 Release @prettier/plugin-oxc@0.1.4 2026-04-15 08:41:51 +08:00
fisker a8700e2450 Update oxc-parser to v0.125.0
Fixes #19048
2026-04-15 08:40:39 +08:00
fisker 752157c78e Fix tests 2026-04-15 08:36:48 +08:00
fisker Cheung b4489dc05f Update flow parser to v0.307.0 (#19038) 2026-04-10 11:49:06 +08:00
fisker Cheung 5638eb6966 Update yarn to 4.13.0 (#19037) 2026-04-10 11:19:40 +08:00
fisker Cheung 2fa378f867 Enable decorator tests for hermes parser (#18960) 2026-04-10 11:19:30 +08:00
fisker Cheung f0cb1294bc Update hermes-parser to v0.35.0 (#19036) 2026-04-10 10:59:06 +08:00
fisker 4d42f87154 Merge branch 'v3.8.x'
# Conflicts:
#	package.json
#	src/language-js/print/function-parameters.js
#	tests/format/angular/control-flow/__snapshots__/format.test.js.snap
#	yarn.lock
2026-04-10 10:42:45 +08:00
fisker 053fd418e1 Bump Prettier dependency to 3.8.2 2026-04-10 10:32:29 +08:00
fisker 904c6365ec Clean changelog_unreleased 2026-04-10 10:31:18 +08:00
fisker dc1f7fcc50 Update dependents count 2026-04-10 10:31:12 +08:00