Commit Graph
11022 Commits
Author SHA1 Message Date
fisker Cheung e8bcedaacd Add printTrailingComma (#18773) 2026-01-29 08:52:30 +08:00
Konv Suuandfisker Cheung e8413ba558 Add parentheses to conditional types in type parameter constraint (#18760)
Co-authored-by: fisker Cheung <lionkay@gmail.com>
2026-01-28 18:01:35 +08:00
fisker Cheung 0fb018ccd5 Extract js utilities (#18772) 2026-01-28 12:36:39 +08:00
fisker Cheungandautofix-ci[bot] 16eb5096b6 Extract code from js utilities (#18770)
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-01-28 10:30:30 +08:00
fisker Cheung 04d90fd5b5 Refactor comment printers to accept filter option (#18768) 2026-01-28 02:58:09 +08:00
fisker Cheung 187680371e Print leading semicolon before type cast comments (#18751) 2026-01-27 22:41:29 +08:00
fisker Cheung add95ce916 Playground: reduce format calls (#18764) 2026-01-27 22:32:40 +08:00
fisker Cheung 26c4d35d61 Move UnaryExpression parens check from parent check to node check (#18767) 2026-01-27 22:26:04 +08:00
fisker Cheung 8ff2c345eb Update internal ESLint rule (#18766) 2026-01-27 22:19:28 +08:00
fisker Cheung 3b93efe979 Extract parentNeedsParentheses (#18765) 2026-01-27 21:53:23 +08:00
fisker Cheung 28b9898816 Playground: Simplify settings passed to worker (#18763) 2026-01-27 19:36:56 +08:00
fisker Cheung 864fc4db40 Refactor playground settings (#18762) 2026-01-27 18:52:05 +08:00
fisker Cheung 657ef1e119 Should format error in comments and doc panel (#18761) 2026-01-27 18:07:35 +08:00
fisker Cheung f58d550470 Refactor node type check functions (#18758) 2026-01-27 12:15:50 +08:00
fisker 8cdcd486ef Fix 2026-01-27 11:51:20 +08:00
fisker Cheung f0ad38b3c9 Extract isTestCall (#18757) 2026-01-27 10:46:43 +08:00
fisker Cheung 48a6e73d5b Improve build script for oxc plugin (#18755) 2026-01-27 08:47:50 +08:00
fisker Cheung a58a070154 Use parseSync from oxc-parser (#18754) 2026-01-27 07:31:01 +08:00
renovate[bot] 51a2a1ec98 Update dependency oxc-parser to v0.111.0 (#18753)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-01-27 06:47:06 +08:00
fisker Cheung 68d6990fce Minor refactor to browser prettier setup (#18749) 2026-01-26 01:13:42 +08:00
fisker Cheung 5cbbc008bb Remove global error handler from flow-parser (#18750) 2026-01-26 00:55:16 +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 ef46101aa6 Use single astType in postprocess (#18742) 2026-01-25 05:52:41 +08:00
Benedikt Scheffbuchandfisker 41df422efa Remove broken link in configuration.md (#18450)
Co-authored-by: fisker <lionkay@gmail.com>
2026-01-25 05:03:55 +08:00
Christopher Chedeauandfisker Cheung 599bad1415 Fix parenthesis for optional function as return type (#11004)
Co-authored-by: fisker Cheung <lionkay@gmail.com>
2026-01-25 05:03:35 +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 Cheungandautofix-ci[bot] 2d3b846607 Print semicolon before type assertion (#18738)
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-01-24 17:50:44 +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 4531e18f75 Exclude semicolon from range of VariableDeclaration (#18734) 2026-01-24 13:42:03 +08:00
fisker Cheung 56860a7c58 Refactor massageAst releated code (#18733) 2026-01-24 11:06:44 +08:00
fisker Cheung 183c115148 Keep comments in mapped type inline (#18731) 2026-01-24 10:17:31 +08:00
fisker Cheung 8a8fefa580 Improve format of member chain with ChainExpression (#18729) 2026-01-24 04:53:28 +08:00
fisker Cheung 0268fdbce5 Add filename to flow parse options (#18727) 2026-01-23 17:32:22 +08:00
fisker a1c271f39d Skip puppeteer installation 2026-01-23 17:05:03 +08:00
fisker Cheung 4b242386f5 Remove dead code (#18723) 2026-01-23 15:30:01 +08:00
renovate[bot] c488924324 Update dependency flow-parser to v0.298.0 (#18725)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-01-23 15:29:47 +08:00
fisker Cheung 7d80579f09 Check AST shape instead of parser (#18724) 2026-01-23 10:03:50 +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
renovate[bot]andfisker Cheung c025c7d5ab Update react to v19.2.3 (#18718)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: fisker Cheung <lionkay@gmail.com>
2026-01-23 04:41:25 +08:00
renovate[bot] e6f518ea11 Update dependency @angular/compiler to v21.1.1 (#18717)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-01-23 04:28:41 +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