Commit Graph
100 Commits
Author SHA1 Message Date
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
fisker Cheung 864bb7c042 Use TSImportType.source (#18319) 2025-11-25 04:16:22 +08:00
fisker Cheungandautofix-ci[bot] ca5c11e95d Enable @prettier/plugin-oxc in playground (#18315)
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-11-25 02:13:03 +08:00
fisker Cheung 78117cf4c4 Update yaml-test-suite to v0.1 (#18309) 2025-11-24 20:46:46 +08:00
fisker Cheung 0b6877b5fe Update yarn to v4.12 (#18305) 2025-11-24 03:40:11 +08:00
fisker Cheung 1d0c666f0d Remove empty line in for statement without "update" (#18300) 2025-11-23 16:23:23 +08:00
fisker Cheung a3d27e96c6 Add yaml-test-suite (#18301) 2025-11-23 04:02:25 +08:00
fisker Cheung 9a571e44dc Stricter check in shouldBreakJsxElement (#18299) 2025-11-22 12:45:47 +08:00
fisker Cheung 6fac964b40 Preserve explicit YAML document end marker (#18296) 2025-11-22 12:23:00 +08:00
fisker Cheung b79cfcf345 Update yaml-unist-parser to v2.1 (#18295) 2025-11-21 23:09:13 +08:00
fisker Cheung 9f2fad7aa4 Fix comments for method signature (#18287) 2025-11-19 13:04:32 +08:00
fisker Cheung 9efe863a55 Refresh yarn.lock (#18283) 2025-11-19 02:58:21 +08:00
fisker Cheung aa155c9859 Refresh lock file in website/ (#18282) 2025-11-19 02:34:06 +08:00
fisker Cheung 84082f5496 website: replace js-yaml with yaml (#18280) 2025-11-19 02:15:58 +08:00
fisker Cheung 238c66f363 Remove dead code (#18279) 2025-11-19 02:08:57 +08:00
fisker Cheung 97079ee034 Forbid attach comments to File (#18274) 2025-11-18 22:23:55 +08:00
fisker Cheung 9cdefb216a Remove esbuild-plugins-node-modules-polyfill (#18276) 2025-11-18 21:42:40 +08:00
fisker Cheung 7521852351 Refactor syntax transform for packages (#18275) 2025-11-18 20:40:21 +08:00
fisker Cheung 335c6f1081 Update release instructions (#18264) 2025-11-18 16:15:17 +08:00
fisker Cheung 080f04055a Fix JSON schema url (#18257) 2025-11-18 00:19:50 +08:00
fisker Cheung bb6c853f39 Build: reduce experimental-cli size (#18255) 2025-11-17 22:45:14 +08:00
fisker Cheung 35718f2993 Fix inconsistent call print between CallExpression and NewExpression (#18206) 2025-11-17 22:43:24 +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 9bde6074f0 Fix production linting (#18254) 2025-11-17 20:12:15 +08:00
fisker 63503cd414 Merge branch 'patch-release' 2025-11-17 18:29:48 +08:00
fisker ed6f419197 Release @prettier/plugin-oxc v0.0.5 2025-11-17 18:23:40 +08:00
fisker 26aaa44355 Update oxc-parser to v0.97.0 2025-11-17 18:22:32 +08:00
fisker Cheung 63f2bc2021 Add "sideEffects": false to package.json (#17949) 2025-11-17 18:19:35 +08:00
fisker Cheung 65c4dfe362 Fix types entry for @prettier/plugin-{hermes,oxc} (#17937) 2025-11-17 18:18:40 +08:00
fisker Cheungandautofix-ci[bot] 3b8e7960c1 Remove extra space before union type comment (#18253)
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-11-17 13:22:09 +08:00
fisker Cheung 439fc2259c Minor tweak to class print (#18252) 2025-11-17 13:03:53 +08:00
fisker Cheung 8b05533e79 Improve getMaxContinuousCount (#18249) 2025-11-17 02:25:40 +08:00
fisker Cheung 5e19f43ebe Simplify makeString (#18248) 2025-11-17 00:34:56 +08:00
fisker Cheung 8d29f18fee Remove dead code (#18217) 2025-11-16 21:56:58 +08:00
fisker Cheung 4c4792fe64 Fix format of logical expression as new expression callee (#18245) 2025-11-16 21:50:52 +08:00
fisker Cheung b9dc504026 Fix comments in interface and class (#18244) 2025-11-16 21:27:45 +08:00
fisker Cheung 40d4bb1815 Remove redundant parentheses around JSX element (#18243) 2025-11-16 20:37:39 +08:00
fisker Cheung 2af5dc0a6f Clean up graphql visitor keys (#18213) 2025-11-16 19:24:21 +08:00
fisker Cheung c03ca07bed Update yarn to v4.11 (#18238) 2025-11-16 19:19:59 +08:00
fisker Cheung fb6f43c529 Add test for 18223 (#18237) 2025-11-16 19:07:00 +08:00
fisker Cheung 5bc3cd61c8 Make single heritage interface print more like the class superClass (#18215) 2025-11-05 00:17:39 +08:00
fisker Cheung beecab8e2e Support graphql v16.12 "executable descriptions" (#18214) 2025-11-04 20:14:15 +08:00
fisker Cheung 6c92f7ea54 Fix inconsistent logical expression print between CallExpression and NewExpression (#18205) 2025-11-04 17:15:27 +08:00
fisker Cheung 17e0c79cc5 Switch groupModeMap to a prototype less object (#18203) 2025-11-04 05:24:09 +08:00
fisker Cheungandautofix-ci[bot] fb66c7dfcf Fix inconsistent break for array literals (#18172)
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-11-04 05:08:53 +08:00
fisker Cheung c7e1512377 Store buffer as string in fits (#18204) 2025-11-04 04:56:54 +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 9d667ffa36 Stop putting empty strings into buffer (#18200) 2025-11-03 23:35:48 +08:00
fisker Cheung 1ec06bd623 Add types to getDocType (#18198) 2025-11-03 22:20:19 +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
fisker Cheung 5f3ea6c480 Fix Union type print (#18186) 2025-11-02 10:44:08 +08:00
fisker Cheung 7d9933d71f Rewrite tests for 18163 (#18185) 2025-11-01 16:31:33 +08:00
1c2ef1f0dd Extract isNewlineCharacter to eliminate duplication (#18182)
Co-authored-by: fisker <172584+fisker@users.noreply.github.com>
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
2025-11-01 13:02:08 +08:00
fisker Cheung 55d8df886e Simplify add-default-export plugin (#18179) 2025-11-01 00:47:11 +08:00
fisker Cheung e3884fcc7e Use optional call (#18173) 2025-10-31 21:45:48 +08:00
fisker Cheung 48100c323d Fix duplicated comments on prettier-ignored super class (#18168) 2025-10-31 09:33:19 +08:00
fisker Cheung d548a87684 Fix a miss used willPrintOwnComments (#18166) 2025-10-31 09:02:39 +08:00
fisker Cheung 1a3d443797 Fix Union type alignment (#18165) 2025-10-31 08:31:54 +08:00
fisker Cheung 528638031a Refactor "BinaryCastExpression" print (#18164) 2025-10-31 04:18:28 +08:00
fisker Cheung 7d3ff5d2fc Fix comment around as/satisfies expression (#18162) 2025-10-31 02:43:23 +08:00
fisker Cheung 062ab10601 Fix inconsistent print of as const (#18161) 2025-10-31 02:04:38 +08:00
fisker Cheung fd8c3909c1 Extract getSortedChildNodes (#18157) 2025-10-30 22:50:59 +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
fisker Cheung 4d2205926d Fix inconsistent printing of class method comment (#18147) 2025-10-30 22:00:28 +08:00
fisker Cheung e5118b2650 Convert node types Set to type check function (#18149) 2025-10-30 02:15:32 +08:00
fisker 3c2b0b135a Fix the Node.js version requirements for development 2025-10-29 04:40:16 +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 eca8348812 Build: stop transforming class private fields (#18128) 2025-10-27 20:23:01 +08:00
fisker Cheung d452be5cb0 Don't force handlebars elements to break in htmlWhitespaceSensitivity: "ignore" mode (#18133) 2025-10-27 08:46:30 +08:00
fisker Cheung 35dacd1aad Remove useless indent (#18132) 2025-10-27 07:32:20 +08:00
fisker Cheung 12607085aa Fix call signatures print in --no-semi mode (#18118) 2025-10-24 20:29:43 +08:00
fisker Cheung 445074d1f3 Refactor interface body and object type print (#14111) 2025-10-22 22:38:18 +08:00
fisker ceeaff8c1c Remove dependabot 2025-10-21 23:32:31 +08:00