Commit Graph
1323 Commits
Author SHA1 Message Date
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
fisker Cheungandautofix-ci[bot] 5d0e890a50 Exclude semicolon from DoWhileStatement (#18851)
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-02-03 21:26:09 +08:00
fisker Cheung 5f88a9314f Fix comments not printed error in debugger statement (#18840) 2026-02-02 20:15:31 +08:00
fisker Cheung 8e6137818d Prevent moving trailing comment in class properties (#18837) 2026-02-02 18:31:13 +08:00
fisker Cheung c65761ac3a Align leading comment of union type elements (#18833) 2026-02-02 16:04:17 +08:00
fisker Cheung 60cf4bd86e Rewrite union type print (#18827) 2026-02-02 03:46:49 +08:00
fisker Cheung dba734dc12 Preserve blank line before comments above else (#18813) 2026-01-31 00:21:33 +08:00
Marco Wang c24aa46cd9 Support KeyofTypeAnnotation parentheses in Flow (#18801) 2026-01-30 12:32:29 +08:00
fisker Cheung 96546f353f Fix printing comment for the last operand of union types (#18798) 2026-01-30 01:27:45 +08:00
fisker Cheung 92d288e3e7 Support implicit declare in Flow (#18690) 2026-01-29 20:14:52 +08:00
Konv Suuandfisker Cheung 9e58cbe5e0 Improve long mapped type to across multiple line in Flow (#18779)
Co-authored-by: fisker Cheung <lionkay@gmail.com>
2026-01-29 12:04:43 +08:00
fisker Cheung 229b862bce Keep comments after arrow in body (#18775) 2026-01-29 10:41:35 +08:00
Konv Suuandfisker Cheung e8413ba558 Add parentheses to conditional types in type parameter constraint (#18760)
Co-authored-by: fisker Cheung <lionkay@gmail.com>
2026-01-28 18:01:35 +08:00
fisker Cheung 187680371e Print leading semicolon before type cast comments (#18751) 2026-01-27 22:41:29 +08:00
Christopher Chedeauandfisker Cheung 599bad1415 Fix parenthesis for optional function as return type (#11004)
Co-authored-by: fisker Cheung <lionkay@gmail.com>
2026-01-25 05:03:35 +08:00
fisker Cheung cc90434c80 Add tests for variable declaration related issues (#18740) 2026-01-24 18:27:37 +08:00
fisker Cheungandautofix-ci[bot] 2d3b846607 Print semicolon before type assertion (#18738)
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-01-24 17:50:44 +08:00
fisker Cheung 35a7f3027b Ignore semicolon in import/export declarations (#18737) 2026-01-24 17:13:54 +08:00
fisker Cheung 495ed200ae Exclude semicolon from range of ExpressionStatement (#18736) 2026-01-24 16:14:17 +08:00
fisker Cheung 183c115148 Keep comments in mapped type inline (#18731) 2026-01-24 10:17:31 +08:00
fisker Cheung 6690ebd09b Fix member chain print (#18720) 2026-01-23 06:36:13 +08:00
fisker 99a18d762f Remove released changelog 2026-01-22 01:49:37 +08:00
fisker 8b4a53ab3d Clean changelog_unreleased 2026-01-22 01:45:33 +08:00
Dom Poradaandfisker 57f702f765 Include available printers in plugin type declarations (#18706)
Co-authored-by: fisker <lionkay@gmail.com>
2026-01-22 01:39:57 +08:00
Dom Poradaandfisker 6fe3de301a Include available printers in plugin type declarations (#18706)
Co-authored-by: fisker <lionkay@gmail.com>
2026-01-22 01:07:32 +08:00
fisker Cheung e4804b1439 Respect quoteProps in method signature (#18702) 2026-01-21 11:59:21 +08:00