Commit Graph
4040 Commits
Author SHA1 Message Date
fisker Cheung 7c7b2e2ef8 Print semicolon for prettier-ignored {Break,Continue}Statement (#18678) 2026-01-18 18:56:56 +08:00
Tatsunori Uchinoandfisker 1f678ab02f Treat U+3000 and U+FF5E as CJK punctuation-equivalent in Markdown prose wrap (#18656)
Co-authored-by: fisker <lionkay@gmail.com>
2026-01-18 09:34:45 +08:00
fisker 0027e5b6cc Remove useless break 2026-01-18 08:33:43 +08:00
fisker Cheung 42d384d148 Remove useless optional chaining (#18677) 2026-01-18 08:32:47 +08:00
fisker Cheung 719373fb75 Move BreakStatement ContinueStatement location override to locEnd (#18675) 2026-01-18 07:47:54 +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 68b64f2aa3 Check AST shape instead of parser (#18672) 2026-01-18 02:51:15 +08:00
fisker 0bc2286c9d Another place 2026-01-18 02:23:34 +08:00
fisker Cheung 7f5c18d719 Minor refactor to function print (#18671) 2026-01-18 02:08:47 +08:00
fisker Cheung e11a16a881 Reuse isCallOrNewExpression (#18670) 2026-01-18 01:48:59 +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 0cc4861cc4 Remove suppressDeprecatedPropertyWarnings in typescript parser (#18664) 2026-01-17 12:20:52 +08:00
fisker Cheung 22032d5aa4 Review ChainExpression check (#18659) 2026-01-17 04:46:43 +08:00
fisker Cheung 5ce41ed535 Don't skip ChainExpression in isCallExpression (#18654) 2026-01-16 20:08:01 +08:00
fisker Cheung ece892d6f0 Don't skip ChainExpression in isMemberExpression (#18652) 2026-01-16 11:10:47 +08:00
renovate[bot]andfisker 9812ff82a2 Update dependency angular-html-parser to v10.4.0 (#18650)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: fisker <lionkay@gmail.com>
2026-01-16 08:31:35 +08:00
fisker Cheung 0b2759943c Update babel to v8.0.0-beta.4 (#18611) 2026-01-15 23:53:14 +08:00
Konv Suuandfisker baa0e54f78 Fix line breaks when css attribute values contain literal newlines (#18605)
Co-authored-by: fisker <lionkay@gmail.com>
2026-01-15 20:49:37 +08:00
Lindsay Glennandfisker 72a182f594 Normalize union type comment alignment in TypeScript conditional types (#18644)
Co-authored-by: fisker <lionkay@gmail.com>
2026-01-15 20:31:27 +08:00
fisker Cheung b5911162bf Improve parentheses check for ExportDefaultDeclaration (#17188) 2026-01-15 18:31:59 +08:00
fisker Cheung 28c00b6251 Remove outdated typeArguments check (#18640) 2026-01-15 18:11:11 +08:00
fisker Cheung 8bb1341ff4 Update flow parse options (#18641) 2026-01-15 10:24:52 +08:00
fisker Cheung f48f89e182 Reuse logic for function parameters in flow components (#18633) 2026-01-15 06:10:12 +08:00
fisker Cheung 9464003348 Angular 21.1: Support consecutive switch cases (#18593) 2026-01-15 05:14:58 +08:00
fisker Cheung b1c75ac9ad Improve dangling comment handling in flow components (#18629) 2026-01-15 04:04:39 +08:00
fisker Cheung d40da4a260 Merge printHook into printFunction (#18632) 2026-01-15 04:04:03 +08:00
fisker Cheung 4cfb8bc9b8 Improve dangling comment handling in flow hooks (#18630) 2026-01-15 03:01:56 +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 2c2b494943 Fix type check (#18627) 2026-01-14 16:23:15 +08:00
fisker Cheung 6e85d4a785 Remove arrow function return type check (#18589) 2026-01-14 06:56:11 +08:00
fisker Cheung 5fff8e7959 Extract printDanglingCommentsInList (#18626) 2026-01-14 05:10:23 +08:00
fisker Cheung 9c13ac1572 Rename handleLastFunctionArgComments (#18625) 2026-01-14 04:44:36 +08:00
fisker Cheung ae14f16f86 Fix dangling comment print in function parameters (#18623) 2026-01-14 03:53:42 +08:00
fisker Cheung 8c310eef6f Refactor handleCommentInEmptyParens (#18624) 2026-01-14 03:00:25 +08:00
fisker Cheung c7e6ea813d Refactor dangling comment attach in arrow function (#18622) 2026-01-14 01:45:12 +08:00
fisker Cheung 204731adeb Add possible node types (#18621) 2026-01-14 01:42:32 +08:00
fisker Cheung e636454118 Improve comments around type arguments print (#18620) 2026-01-14 00:39:00 +08:00
fisker Cheung 1b36f27d8e Improve comment print inside type arguments (#18619) 2026-01-13 22:40:49 +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 3b9ecca4d9 Don't treat Flow inexact tuples as empty (#18616) 2026-01-13 19:15:36 +08:00
fisker Cheung 7e1b10be3a Allow GraphQL Types that implement many interfaces to break (#18582) 2026-01-13 02:18:51 +08:00
fisker Cheung 7a76a9b119 Fix GraphQL dangling comment print (#18581) 2026-01-13 02:18:04 +08:00
fisker Cheung 360b8681d9 Don't create shared reference for empty visitor keys (#18610) 2026-01-13 02:16:12 +08:00
fisker Cheung d2d34ee619 Refactor wrapExpression (#18607) 2026-01-13 00:15:13 +08:00
Seiyaandfisker 303391a94a Preserve trailing double spaces in JSDoc (#18594)
Co-authored-by: fisker <lionkay@gmail.com>
2026-01-13 00:14:18 +08:00
fisker Cheung 797e260d36 Import graphql directly (#18599) 2026-01-10 13:49:16 +08:00
renovate[bot]andfisker b78da863cb Update Angular Estree (#18592)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: fisker <lionkay@gmail.com>
2026-01-09 08:39:04 +08:00
renovate[bot]andfisker b72dbf5082 Update dependency oxc-parser to v0.107.0 (#18576)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: fisker <lionkay@gmail.com>
2026-01-06 02:11:30 +08:00