Commit Graph
11074 Commits
Author SHA1 Message Date
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
renovate[bot] c06314c988 Update dependency meriyah to v7.1.0 (#18855)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-02-05 09:29:23 +08:00
renovate[bot] ce75658462 Update typescript-eslint to v8.54.0 (#18854)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-02-05 08:39:13 +08:00
dependabot[bot] 070c89bba4 Bump the npm_and_yarn group across 2 directories with 1 update (#18853)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-02-04 09:25:23 +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 11c31c6b61 Centralize logic for excluding semicolon from node range (#18850) 2026-02-03 12:31:38 +08:00
fisker Cheung 6f1d135768 Extract logic related to js node location (#18849) 2026-02-03 08:59:13 +08:00
fisker Cheung f0a706d88b Exclude semicolon from {Return,Throw}Statement (#18848) 2026-02-03 00:06:57 +08:00
fisker Cheung b801e10ec7 Improve semicolon check in printVariableDeclaration (#18845) 2026-02-02 23:12:23 +08:00
renovate[bot] 2c623081f4 Update dependency oxc-parser to v0.112.0 (#18844)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-02-02 22:37:17 +08:00
fisker Cheungandautofix-ci[bot] 12dfde1fce Add printSemicolon (#18841)
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-02-02 22:18:20 +08:00
fisker Cheung 91625a1220 Clean js plugins (#18839) 2026-02-02 20:16: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 8e6137818d Prevent moving trailing comment in class properties (#18837) 2026-02-02 18:31:13 +08:00
fisker Cheung 6c0e2bcc52 Prevent crash on website with malformed url (#18836) 2026-02-02 18:08:55 +08:00
renovate[bot]andfisker Cheung eec8811a4b Update devDependencies (#18824)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: fisker Cheung <lionkay@gmail.com>
2026-02-02 17:15:28 +08:00
renovate[bot] b81d92776e Update ESLint related dependencies (#18825)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-02-02 16:25:01 +08:00
fisker Cheung c65761ac3a Align leading comment of union type elements (#18833) 2026-02-02 16:04:17 +08:00
fisker Cheung a16e57de94 Simplify union type print (#18831) 2026-02-02 14:31:54 +08:00
fisker Cheung 60cf4bd86e Rewrite union type print (#18827) 2026-02-02 03:46:49 +08:00
fisker Cheungandautofix-ci[bot] 2b8a924a13 Rename file (#18826)
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-02-01 23:27:18 +08:00
fisker Cheung 8d74ddeccd Work after babel upgrade to v8.0.0-rc1 (#18823) 2026-02-01 09:57:39 +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
renovate[bot] cc38e7430d Update CodeMirror (#18816)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-01-31 09:36:44 +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
renovate[bot] 8394315a36 Update dependency ci-info to v4.4.0 (#18812)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-01-31 00:20:00 +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 df65ef94ea Replace adjustClause with printClause (#18807) 2026-01-30 12:46:08 +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 c23ee2c67a Extract handleIfStatementComments (#18805) 2026-01-30 11:02:02 +08:00
fisker Cheungandautofix-ci[bot] 0844e463c9 Simplify needsHardlineAfterDanglingComment (#18797)
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-01-30 10:55:52 +08:00
fisker Cheung 3ff9bf78d8 Use addBlockOrNotComment in handleIfStatementComments (#18803) 2026-01-30 10:48:53 +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 52b9fd6331 Use addBlockOrNotComment in handleWhileLikeComments (#18796) 2026-01-30 00:51:51 +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
fisker Cheung e52130244a Centralize "class like" children related logic (#18789) 2026-01-29 20:03:37 +08:00
dependabot[bot] 66fba05522 Bump the npm_and_yarn group across 2 directories with 1 update (#18785)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-01-29 12:35:34 +08:00
renovate[bot] eabe5d5a03 Update dependency flow-parser to v0.299.0 (#18784)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-01-29 12:19:13 +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