Commit Graph
353 Commits
Author SHA1 Message Date
fisker Cheung 69ed5dad2a Fix code frames for glimmer and hermes parser (#19163) 2026-05-19 02:58:09 +08:00
renovate[bot]andfisker 5d387cb75c Update babel to v8.0.0-rc.4 (#19108)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: fisker <lionkay@gmail.com>
2026-05-07 20:03:23 +08:00
fisker Cheung 906406f7ea Enable using tests for hermes parser (#18961) 2026-04-29 16:15:38 +08:00
Konv Suu 3031cd3b84 Fix duplicate dangling comments in experimental ternaries (#18963) 2026-04-12 07:39:08 +08:00
fisker Cheung 2fa378f867 Enable decorator tests for hermes parser (#18960) 2026-04-10 11:19:30 +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
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 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
fisker Cheung efcc72d91b Exclude semicolon from control flow statements (#18856) 2026-02-05 10:37:26 +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 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 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 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 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
fisker Cheung 187680371e Print leading semicolon before type cast comments (#18751) 2026-01-27 22:41:29 +08:00
fisker Cheung 7ca5d83e45 Move parser name to end in test title (#18745) 2026-01-25 11:53:51 +08:00
fisker Cheungandautofix-ci[bot] ed5bb0bf62 Refactor tests (#18743)
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-01-25 10:30:19 +08:00
fisker Cheung cc90434c80 Add tests for variable declaration related issues (#18740) 2026-01-24 18:27:37 +08:00
fisker Cheung 3b3f861767 Add test for comments in VariableDeclaration (#18739) 2026-01-24 18:03:04 +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 2b6c9fe2e7 Fix range of IfStatement (#18735) 2026-01-24 14:17:02 +08:00
fisker Cheung 8a8fefa580 Improve format of member chain with ChainExpression (#18729) 2026-01-24 04:53:28 +08:00
fisker Cheung 6690ebd09b Fix member chain print (#18720) 2026-01-23 06:36:13 +08:00
fisker Cheung 108c3f5c94 Add test for ChainExpression in optional chaining (#18713) 2026-01-23 05:37:37 +08:00
fisker Cheung 2e230f99e7 Run AST compare test on verify parsers (#18712) 2026-01-23 04:47:51 +08:00
fisker Cheung b4761d1ffb Add test for #11273 (#18694) 2026-01-21 09:06:39 +08:00
fisker Cheung 082e8512df Add test for #13079 (#18693) 2026-01-21 09:01:22 +08:00
fisker Cheung 7c7b2e2ef8 Print semicolon for prettier-ignored {Break,Continue}Statement (#18678) 2026-01-18 18:56:56 +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 93f0ff3910 Add tests for comments around break and continue (#18673) 2026-01-18 03:03:45 +08:00
fisker Cheung 62309811c0 Fix inconsistent comment attach between NewExpression and CallExpression (#18669) 2026-01-18 01:30:03 +08:00
fisker Cheung 18ababcd50 Review isMemberExpression check (#18666) 2026-01-17 23:00:02 +08:00
fisker Cheung 5ce41ed535 Don't skip ChainExpression in isCallExpression (#18654) 2026-01-16 20:08:01 +08:00
fisker Cheung 0b2759943c Update babel to v8.0.0-beta.4 (#18611) 2026-01-15 23:53:14 +08:00
fisker Cheung b5911162bf Improve parentheses check for ExportDefaultDeclaration (#17188) 2026-01-15 18:31:59 +08:00
renovate[bot]andfisker 48f7598e57 Update flow-parser (#18598)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: fisker <lionkay@gmail.com>
2026-01-15 01:44:39 +08:00
fisker Cheung ae14f16f86 Fix dangling comment print in function parameters (#18623) 2026-01-14 03:53:42 +08:00