Commit Graph
1298 Commits
Author SHA1 Message Date
fisker Cheung e736c0e858 Angular: Support @content block (#19431) 2026-06-23 20:01:45 +08:00
fisker Cheung 7c39d9ba1e GraphQL: Fix dangling comments in empty "listValue" (#19422) 2026-06-23 09:20:01 +08:00
Sam Zhouandfisker 9c0e48cd25 Switch to oxidized flow parser (#19398)
Co-authored-by: fisker <lionkay@gmail.com>
2026-06-23 08:44:23 +08:00
fisker Cheung 8bff16e3d9 Update @prettier/prettier-cli to v0.12 (#19415) 2026-06-22 20:07:03 +08:00
1c0cf93b41 Escape unindented indented pseudo setext headers (#19350)
Co-authored-by: fisker <lionkay@gmail.com>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-06-17 18:16:21 +08:00
Konv Suuandfisker 45f6a5ff0f Remove space before ; delimiter in SCSS if() function (#19384)
Co-authored-by: fisker <lionkay@gmail.com>
2026-06-16 15:05:02 +08:00
renovate[bot]andfisker a9765a94b9 Update dependency @prettier/cli to v0.11.1 (#19381)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: fisker <lionkay@gmail.com>
2026-06-16 08:16:44 +08:00
fisker Cheung 701280af57 Add regression test for blank lines between statements (#19380) 2026-06-16 05:31:37 +08:00
Konv Suuandfisker Cheung c9a0d5a8ce Fix formatting files with a quote at the start of a path segment (#19315)
Co-authored-by: fisker Cheung <lionkay@gmail.com>
2026-06-10 09:23:06 +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 1cb7fcb3b1 Cleanup 2026-06-09 19:40:21 +08:00
Konv Suu adeca1aea1 Fix inline comment forcing element to break in html (#19304) 2026-06-09 04:20:19 +08:00
fisker Cheung e8900da916 Remove extra group around object properties (#19310) 2026-06-08 20:46:59 +08:00
fisker Cheung 8cb163504a GraphQL: Support "Fragment arguments" (#19297) 2026-06-05 19:39:29 +08:00
Seiyaandfisker 6718f74bcd Consider git worktree as project root (#18891)
Co-authored-by: fisker <lionkay@gmail.com>
2026-06-04 23:25:21 +08:00
8ea698ccc2 Fix blank lines between list items and nested sub-lists being removed in Markdown/MDX (#17857)
Co-authored-by: Tatsunori Uchino <tats.u@live.jp>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: fisker Cheung <lionkay@gmail.com>
2026-06-04 18:21:03 +08:00
fisker Cheung 91f155f7f5 Support formatting LWC syntax in markdown (#19291) 2026-06-04 18:19:19 +08:00
fisker Cheung ffcfe0efbb Do not expand object type with inline comments (#19287) 2026-06-04 16:51:53 +08:00
Bingjia Yangandfisker Cheung f941cb6364 Fix extra blank line between a list and an indented code block (#19154)
Co-authored-by: fisker Cheung <lionkay@gmail.com>
2026-06-04 01:54:38 +08:00
Antoine Pietriandfisker Cheung 80cdddb79b Fix YAML formatting: preserve empty line after block scalar (#19205)
Co-authored-by: fisker Cheung <lionkay@gmail.com>
2026-06-04 01:22:42 +08:00
Igor 0a825b05dc Preserve blank lines between JSX attributes (#19161) 2026-06-03 15:40:52 +08:00
Anders Kaseorg 98074bc210 Avoid corrupting empty URL + title, or URL with <, (, \ (#19150)
Signed-off-by: Anders Kaseorg <andersk@mit.edu>
2026-06-03 06:11:47 +08:00
Sarath Francisandfisker 37255cd58b Fix unstable trailing comment in parenthesized sequence or assignment expression (#19263)
Co-authored-by: fisker <lionkay@gmail.com>
2026-06-03 05:52:34 +08:00
b4b6799096 Fix unstable comment in arrow function with assignment expression body (#19262)
Co-authored-by: itsybitsybootsy <lammlu19>
Co-authored-by: fisker <lionkay@gmail.com>
2026-06-03 02:25:48 +08:00
e79c012e3b Fix unstable comment in arrow function with sequence expression body (#19253)
Co-authored-by: itsybitsybootsy <lammlu19>
Co-authored-by: fisker Cheung <lionkay@gmail.com>
2026-06-01 07:41:04 +08:00
82955f1d02 Fix Markdown emphasis near non-breaking space (#19066)
Co-authored-by: Tatsunori Uchino <tats.u@live.jp>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-06-01 07:17:31 +08:00
Igorandfisker Cheung f4ff697101 Remove spaces in for statement heads (#19188)
Co-authored-by: fisker Cheung <lionkay@gmail.com>
2026-05-28 05:28:45 +08:00
b0c5b388cd Fix trailing comment in abstract method parameters (#19200)
Co-authored-by: itsybitsybootsy <lammlu19>
Co-authored-by: fisker <lionkay@gmail.com>
2026-05-28 03:57:39 +08:00
fisker Cheung 4025d3e226 Avoid unnecessary semicolon before call signatures (#19212) 2026-05-27 06:10:32 +08:00
Rayan Salhabandfisker Cheung d7cf639b76 Avoid trailing commas for parenthesized SCSS scalars (#19091)
Co-authored-by: fisker Cheung <lionkay@gmail.com>
2026-05-27 05:29:26 +08:00
Konv Suu 6ae5fecd46 Fix JSDoc multiline type cast alignment in assignment (#19180) 2026-05-20 23:07:24 +08:00
Bingjia Yang 5adf567676 Support directives on directive definitions in GraphQL (#19171) 2026-05-19 22:35:00 +08:00
Konv Suu dc6d12e6f1 Fix broken closing tag of pre-like elements (#19046) 2026-05-19 04:25:13 +08:00
Marco Wangandfisker Cheung 3ff4e67403 Support new Flow variance syntax (#19102)
Co-authored-by: fisker Cheung <lionkay@gmail.com>
2026-04-29 15:42:44 +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 07bad1f045 Clean changelog_unreleased 2026-04-15 08:57:11 +08:00
Konv Suuandfisker Cheung 177f908981 Prevent trailing comma in SCSS if() function (#18471)
Co-authored-by: fisker Cheung <lionkay@gmail.com>
2026-04-15 08:50:53 +08:00
Michael Vitousekandautofix-ci[bot] f86027197d Print async keyword for component declarations (#19053)
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-04-15 08:27:47 +08:00
9d9d8914b6 Support readonly as Flow variance annotation (#19022)
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: fisker Cheung <lionkay@gmail.com>
2026-04-12 07:43:22 +08:00
Paulo Duarte 9c044f33a8 fix: match useCheckSum casing expected by file-entry-cache v11 (#18914) 2026-04-12 07:41:41 +08:00
Konv Suu 3031cd3b84 Fix duplicate dangling comments in experimental ternaries (#18963) 2026-04-12 07:39:08 +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 904c6365ec Clean changelog_unreleased 2026-04-10 10:31:18 +08:00
fisker Cheung 96bbaeda05 Support Angular v21.2 (#18722) 2026-04-10 10:24:28 +08:00
fisker Cheung 384cf33671 Support Angular v21.2 (#18722) 2026-04-10 10:03:27 +08:00
Klaus Hott Vidal 53859e0725 updating Printer interface (#19014) 2026-04-10 06:00:49 +08:00
renovate[bot]andfisker 9d6833e74a Update flow-parser (#18929)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: fisker <lionkay@gmail.com>
2026-03-22 10:53:42 +08:00
it-education-md 70c3c2b4f6 Fix markdown newline removal for CJK list-marker false positive (#18867) 2026-03-07 06:04:05 +08:00
fisker Cheung 0eda012bcb Print ; for module declaration and declare function without body (#18852) 2026-02-05 10:19:28 +08:00