Commit Graph
193 Commits
Author SHA1 Message Date
fisker bb817b1bd0 Bump Prettier dependency to 3.9.0 2026-06-27 18:35:59 +08:00
61f09e4484 Fix comment placement in assignment-like type aliases (TSTypeAliasDeclaration) (#19410)
Co-authored-by: WhoamiI00 <anktiisop12@gmail.com>
Co-authored-by: fisker <lionkay@gmail.com>
2026-06-24 17:43:11 +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 2be16eca12 Update angular-html-parser to v10.8 (#19417) 2026-06-22 19:31:13 +08:00
fisker Cheung 623e101fd3 Fix some unicorn/no-declarations-before-early-exit violations (#19371) 2026-06-16 04:39:22 +08:00
fisker Cheung 5ecfee1ac5 Enable unicorn/no-error-property-assignment rule (#19377) 2026-06-16 04:28:26 +08:00
fisker Cheung 96693ea007 Improve comments (#19359) 2026-06-16 02:09:45 +08:00
fisker Cheung 21a8c81940 Fix bundled @babel/code-frame for test (#19340) 2026-06-10 23:58:54 +08:00
fisker Cheung 3b1acf2dea Improve formatting of leading comment of union type (#19288) 2026-06-04 17:16:15 +08:00
renovate[bot]andfisker aa518b7cad Update flow-parser to v0.317.0 (#19285)
Co-authored-by: fisker <lionkay@gmail.com>
2026-06-04 15:30:00 +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
fisker Cheung 8d63dddaaa Update to yaml@2 (#18419) 2026-06-01 10:18:29 +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
fisker Cheung d33a1b0bc0 Move tests to correct location (#19223) 2026-05-27 18:20:23 +08:00
Copilotandfisker 4b16490491 Fix "Dev Package Test" to show error details (#19215)
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: fisker <lionkay@gmail.com>
2026-05-27 08:07:11 +08:00
fisker Cheung 906406f7ea Enable using tests for hermes parser (#18961) 2026-04-29 16:15:38 +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
fisker Cheung efcc72d91b Exclude semicolon from control flow statements (#18856) 2026-02-05 10:37:26 +08:00
fisker Cheung f0a706d88b Exclude semicolon from {Return,Throw}Statement (#18848) 2026-02-03 00:06:57 +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 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
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
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 68d6990fce Minor refactor to browser prettier setup (#18749) 2026-01-26 01:13:42 +08:00
fisker Cheung 157edc3d35 Split different tests in format test (#18748) 2026-01-26 00:09:39 +08:00
fisker Cheung 8fc02d3671 Refactor format test (#18747) 2026-01-25 20:48:49 +08:00
fisker Cheung 7ca5d83e45 Move parser name to end in test title (#18745) 2026-01-25 11:53:51 +08:00
fisker Cheung b23044ec1b Move 3rd-party tests into languages (#18746) 2026-01-25 11:23:53 +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 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 2e230f99e7 Run AST compare test on verify parsers (#18712) 2026-01-23 04:47:51 +08:00
renovate[bot]andfisker 94af9c9d7a Update devDependencies (#18716)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: fisker <lionkay@gmail.com>
2026-01-23 03:40:25 +08:00
fisker Cheung b5a3bf3d6e Enable jest/prefer-strict-equal rule (#18714) 2026-01-22 23:53:24 +08:00
fisker Cheung 93f0ff3910 Add tests for comments around break and continue (#18673) 2026-01-18 03:03:45 +08:00
fisker Cheung 0b2759943c Update babel to v8.0.0-beta.4 (#18611) 2026-01-15 23:53:14 +08:00
fisker Cheung b0ffc1208d Add test for comments in hookTypeAnnotation (#18631) 2026-01-15 03:35:07 +08:00
fisker Cheung e636454118 Improve comments around type arguments print (#18620) 2026-01-14 00:39:00 +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
fisker Cheung 1ce53af15b Disable module <identifier> test on babel-ts parser (#18544) 2025-12-30 02:48:24 +08:00