Commit Graph
383 Commits
Author SHA1 Message Date
Bao Nguyenandfisker f6ddf6e437 Keep parentheses in yield expression (#19913)
Co-authored-by: fisker <lionkay@gmail.com>
2026-09-11 06:33:16 +08:00
Miodrag Obradovicandfisker 5a0fdd9740 Fix unstable trailing comment on a parenthesized arrow chain (#19930)
Co-authored-by: fisker <lionkay@gmail.com>
2026-08-30 22:06:08 +08:00
Miodrag Obradovicandfisker 24a616d0b7 Fix unstable trailing comment on a nested parenthesized assignment (#19893)
Co-authored-by: fisker <lionkay@gmail.com>
2026-08-20 12:28:29 +08:00
Miodrag Obradovicandfisker 52d170534e Fix unstable comment before the first element of a sequence expression (#19894)
Co-authored-by: fisker <lionkay@gmail.com>
2026-08-20 12:24:08 +08:00
45a4a75ea6 Fix range formatting expanding to a non-source-element node (#19880)
Co-authored-by: fisker Cheung <lionkay@gmail.com>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-08-18 18:32:50 +08:00
fisker Cheung 3a106fdff1 Fix embedded template literal idempotency (#19725) 2026-07-26 16:35:21 +08:00
Sarath Francis b35943fa92 Fix unstable comment between a tagged template's tag and quasi (#19345) 2026-07-19 10:18:36 +08:00
fisker Cheung d9e922cabd Fix comment around nullish coalescing (#19652) 2026-07-17 13:52:03 +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 4ae1707539 Clean changelog_unreleased 2026-07-10 00:22:23 +08:00
fisker Cheung 908503e9ee Handle dangling comments in SwitchStatement (#19581) 2026-07-09 11:28:31 +08:00
fisker 05cf896cfc Clean changelog_unreleased 2026-06-27 18:33:45 +08:00
fisker Cheung 701280af57 Add regression test for blank lines between statements (#19380) 2026-06-16 05:31:37 +08:00
fisker Cheung e8900da916 Remove extra group around object properties (#19310) 2026-06-08 20:46:59 +08:00
Igor 0a825b05dc Preserve blank lines between JSX attributes (#19161) 2026-06-03 15:40:52 +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
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
Konv Suu 6ae5fecd46 Fix JSDoc multiline type cast alignment in assignment (#19180) 2026-05-20 23:07:24 +08:00
Konv Suu 3031cd3b84 Fix duplicate dangling comments in experimental ternaries (#18963) 2026-04-12 07:39:08 +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 dba734dc12 Preserve blank line before comments above else (#18813) 2026-01-31 00:21:33 +08:00
fisker Cheung 229b862bce Keep comments after arrow in body (#18775) 2026-01-29 10:41:35 +08:00
fisker Cheung 187680371e Print leading semicolon before type cast comments (#18751) 2026-01-27 22:41:29 +08:00
fisker Cheung cc90434c80 Add tests for variable declaration related issues (#18740) 2026-01-24 18:27:37 +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 6690ebd09b Fix member chain print (#18720) 2026-01-23 06:36:13 +08:00
Tatsunori Uchinoandfisker 1f678ab02f Treat U+3000 and U+FF5E as CJK punctuation-equivalent in Markdown prose wrap (#18656)
Co-authored-by: fisker <lionkay@gmail.com>
2026-01-18 09:34:45 +08:00
Georgii Dolzhykovandfisker f5e3980c30 Stabilize comment around break and continue in no-semi mode (#7161)
Co-authored-by: fisker <lionkay@gmail.com>
2026-01-18 05:38:52 +08:00
fisker Cheung 62309811c0 Fix inconsistent comment attach between NewExpression and CallExpression (#18669) 2026-01-18 01:30:03 +08:00
fisker Cheung 0b2759943c Update babel to v8.0.0-beta.4 (#18611) 2026-01-15 23:53:14 +08:00
fisker Cheung ae14f16f86 Fix dangling comment print in function parameters (#18623) 2026-01-14 03:53:42 +08:00
fisker Cheung 7733de931e Improve comment handling around calls without arguments (#18615) 2026-01-13 21:40:22 +08:00
fisker Cheung 78ff25b5cf Don't force array/object with short block comment to break (#18617) 2026-01-13 20:47:40 +08:00
Seiyaandfisker 303391a94a Preserve trailing double spaces in JSDoc (#18594)
Co-authored-by: fisker <lionkay@gmail.com>
2026-01-13 00:14:18 +08:00
fisker Cheungandautofix-ci[bot] 68861ae531 Fix dangling comment detection in function parameters and call arguments (#18540)
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-12-29 19:52:29 +08:00
fisker Cheung e2806a30b2 Keep iife function comments in parentheses (#18538) 2025-12-29 18:46:45 +08:00
a533a6b1c7 Preserve spaces around placeholders for template literals (#18460)
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: fisker Cheung <lionkay@gmail.com>
2025-12-16 09:31:32 +08:00
fisker Cheung b6cf29f3d0 Remove redundant parentheses around SequenceExpression and AssignmentExpression (#18142) 2025-12-06 17:10:37 +08:00
fisker Cheung a7b8a4f77d Avoid linebreaks in embedded template interpolations (#18380) 2025-12-06 14:45:25 +08:00
fisker CheungandAlexander Kachkaev 374138ac6b Improve if condition break (#18401)
Co-authored-by: Alexander Kachkaev <alexander@kachkaev.ru>
2025-12-06 14:39:00 +08:00
fisker Cheung 9b8f6e86ac Avoid double parentheses around logical expression (#18397) 2025-12-02 06:00:26 +08:00
fisker 081b84695b Clean changelog_unreleased 2025-11-29 04:59:00 +08:00
c60eca2415 Fix embed html attribute print (#18352)
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: fisker <lionkay@gmail.com>
2025-11-28 21:40:34 +08:00
fisker Cheung 3e770b95a7 Fix string print (#18351) 2025-11-28 20:52:53 +08:00
fisker c4905e5be9 Clean changelog_unreleased 2025-11-27 16:31:35 +08:00
fisker Cheung 6ba133e80c Improve super class (or single heritage) breaking (#18325) 2025-11-26 19:43:08 +08:00