Commit Graph
383 Commits
Author SHA1 Message Date
fisker Cheung b923138612 Fix embedded template literal idempotency (#19725) 2026-09-16 15:32:11 +08:00
renovate[bot] ec3f1c7bd7 Update typescript-eslint to v8.65.0 (#19675)
Co-authored-by: fisker <lionkay@gmail.com>
# Conflicts:
#	tests/format/js/deferred-import-evaluation/__snapshots__/format.test.js.snap
#	tests/format/js/deferred-import-evaluation/format.test.js
2026-07-21 13:44:21 +08:00
renovate[bot] b74dd53076 Update Yuku parser to v0.6.5 (#19654)
Co-authored-by: fisker <lionkay@gmail.com>
# Conflicts:
#	tests/format/js/deferred-import-evaluation/__snapshots__/format.test.js.snap
2026-07-17 10:37:20 +08:00
fisker Cheung 3bbb8159eb Remove typescript-only directory (#19636) 2026-07-17 10:32:20 +08:00
fisker Cheung 904f04f3ed Add yuku-ts parser (#19629)
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
# Conflicts:
#	tests/format/js/deferred-import-evaluation/__snapshots__/format.test.js.snap
2026-07-17 10:31:54 +08:00
fisker Cheung 1b246f896d Add yuku parser (#19628)
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
# Conflicts:
#	tests/format/js/deferred-import-evaluation/__snapshots__/format.test.js.snap
2026-07-17 10:30:10 +08:00
fisker Cheung 908503e9ee Handle dangling comments in SwitchStatement (#19581) 2026-07-09 11:28:31 +08:00
fisker Cheung d87f25304c Fix typo in test fixtures (#19473) 2026-06-26 22:31:15 +08:00
fisker Cheung aa10aa4b1e Fix comments on right side of "assignment like" (#19456) 2026-06-25 10:34:02 +08:00
fisker Cheung ebc995158b Add more tests for "assignment like" node (#19447) 2026-06-25 10:10:01 +08:00
fisker Cheung cb8d1899a0 Further improve comments in "assignment like" node (#19445) 2026-06-24 20:53:59 +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 701280af57 Add regression test for blank lines between statements (#19380) 2026-06-16 05:31:37 +08:00
renovate[bot]andfisker 7e374c3cd0 Update Acorn to v8.17.0 (#19344)
Co-authored-by: fisker <lionkay@gmail.com>
2026-06-12 03:36:15 +08:00
fisker Cheung 21a8c81940 Fix bundled @babel/code-frame for test (#19340) 2026-06-10 23:58:54 +08:00
fisker Cheung 9c5fd587b9 Remove extra parens around ternary (#19330) 2026-06-10 06:29:16 +08:00
fisker Cheung e76e746131 Remove extra parens around jsx (#19329) 2026-06-10 06:10:50 +08:00
fisker Cheung e8900da916 Remove extra group around object properties (#19310) 2026-06-08 20:46:59 +08:00
fisker Cheungandautofix-ci[bot] 3149f353d7 Enable unicorn/prefer-string-repeat rule (#19306)
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-06-08 18:16:28 +08:00
fisker Cheung 61b473aacb Add test for #4032 (#19296) 2026-06-05 17:37:05 +08:00
fisker Cheung 96f7a375bd Fix edge cases for parentheses in new expressions (#19295) 2026-06-05 17:16:35 +08:00
fisker Cheung 296fbe6b7f Improve handleParenthesizedExpressionTrailingComment (#19281) 2026-06-04 02:22:52 +08:00
Sarath Francisandfisker eb0155289f Fix unstable trailing comment on a parenthesized assignment statement (#19276)
Co-authored-by: fisker <lionkay@gmail.com>
2026-06-04 01:20:50 +08:00
fisker Cheung 121d0d3dd9 Revert "Fix unstable comments around parenthesized expressions (#19273)" (#19274) 2026-06-03 07:24:36 +08:00
fisker Cheung 794ca266a9 Fix unstable comments around parenthesized expressions (#19273) 2026-06-03 07:09:11 +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
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