Commit Graph
3338 Commits
Author SHA1 Message Date
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
renovate[bot]andfisker e902eba985 Update dependency diff to v9 (#19050)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: fisker <lionkay@gmail.com>
2026-04-15 08:31:02 +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
renovate[bot]andfisker 512f973602 Update dependency flow-parser to v0.309.0 (#18980)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: fisker <lionkay@gmail.com>
2026-04-10 12:22:46 +08:00
fisker Cheung b4489dc05f Update flow parser to v0.307.0 (#19038) 2026-04-10 11:49:06 +08:00
fisker Cheung 2fa378f867 Enable decorator tests for hermes parser (#18960) 2026-04-10 11:19:30 +08:00
fisker Cheung 384cf33671 Support Angular v21.2 (#18722) 2026-04-10 10:03:27 +08:00
fisker Cheung 375f3347b1 Support default never in Angular v21.2 (#19034) 2026-04-10 09:49:52 +08:00
renovate[bot]andfisker 79d66ae318 Update dependency linguist-languages to v9.3.2 (#19028)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: fisker <lionkay@gmail.com>
2026-04-10 09:08:46 +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
renovate[bot]andfisker 723adee635 Update dependency espree to v11.2.0 (#18932)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: fisker <lionkay@gmail.com>
2026-03-22 09:22:04 +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 1038b1231b Use sourceType: commonjs in acorn parser (#18906) 2026-03-05 01:26:48 +08:00
renovate[bot]andfisker 8e4bfdb9b0 Update dependency oxc-parser to v0.116.0 (#18918)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: fisker <lionkay@gmail.com>
2026-03-04 23:43:34 +08:00
renovate[bot]andfisker 9bb7335452 Update dependency oxc-parser to v0.115.0 (#18896)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: fisker <lionkay@gmail.com>
2026-03-01 04:26:07 +08:00
renovate[bot]andfisker c96e122ecc Update dependency acorn to v8.16.0 (#18892)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: fisker <lionkay@gmail.com>
2026-03-01 03:32:10 +08:00
renovate[bot]andfisker 002bc416b5 Update dependency @prettier/html-tags to v2.2.0 (#18874)
* Update dependency @prettier/html-tags to v2.2.0

* Update snapshot

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: fisker <lionkay@gmail.com>
2026-02-15 08:54:47 +08:00
fisker Cheung efcc72d91b Exclude semicolon from control flow statements (#18856) 2026-02-05 10:37:26 +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 f0a706d88b Exclude semicolon from {Return,Throw}Statement (#18848) 2026-02-03 00:06:57 +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
88ee8a5b3e Update babel to v8.0.0-rc.1 (#18822)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: fisker Cheung <lionkay@gmail.com>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-02-01 08:57:18 +08:00
fisker Cheung 5017d66ea7 Test: Update printWidth indicator (#10293) 2026-01-31 03:45:41 +08:00
fisker Cheung 6f458f46d0 Merge For{Of,In}Statement print (#18815) 2026-01-31 01:26:45 +08:00
fisker Cheung 0d0e103e43 Add test for #11050 (#18814) 2026-01-31 00:55:29 +08:00
fisker Cheung dba734dc12 Preserve blank line before comments above else (#18813) 2026-01-31 00:21:33 +08:00
fisker Cheung af2526357a Don't force comemnts between head and body print on same line (#18808) 2026-01-30 14:59:42 +08:00
fisker Cheung d4f80427db Improve handleIfStatementComments (#18809) 2026-01-30 14:19:19 +08:00
Marco Wang c24aa46cd9 Support KeyofTypeAnnotation parentheses in Flow (#18801) 2026-01-30 12:32:29 +08:00
fisker Cheung 292a5d0834 Align comment attach in while-like with IfStatements (#18806) 2026-01-30 11:59:47 +08:00
fisker Cheung 549e0cc51b Test HTML-like comments in all parsers (#18800) 2026-01-30 10:20:18 +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 46061a160f Print WithStatement the same as WhileStatement (#18795) 2026-01-30 00:11:41 +08:00
fisker Cheung 6966c7e488 Print decorators of ClassExpression on it's own (#18788) 2026-01-29 20:27:28 +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 e82cf92fb4 Add test for #6858 (#18780) 2026-01-29 11:57:22 +08:00
fisker Cheung ce7cee1764 Add tests for #14563 (#18777) 2026-01-29 10:54:13 +08:00
fisker Cheung 229b862bce Keep comments after arrow in body (#18775) 2026-01-29 10:41:35 +08:00
fisker Cheungandautofix-ci[bot] 696134156c Improve stripComments (#18774)
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-01-29 09:39:41 +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
fisker Cheung 68d6990fce Minor refactor to browser prettier setup (#18749) 2026-01-26 01:13:42 +08:00