122 Commits
Author SHA1 Message Date
renovate[bot]andfisker 1a15312010 Update flow-parser to v0.332.0 (#20110)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: fisker <lionkay@gmail.com>
2026-09-19 13:07:16 +08:00
fisker Cheung 968c1a62c8 Allow Babel parse in "script" mode (#20041) 2026-09-12 11:47:48 +08:00
Konv Suu c081af8c65 Fix comment moved into brackets in object type members (#19698) 2026-07-30 11:22:46 +08:00
fisker Cheungandautofix-ci[bot] dc4753546b Add yuku-ts parser (#19629)
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-07-15 17:29:50 +08:00
fisker Cheung 91bcac88ec Add more tests for comment-only object type (#19587) 2026-07-09 23:24:06 +08:00
fisker Cheung cbee7377a1 Remove space in empty object type (#19583) 2026-07-09 17:34:22 +08:00
fisker Cheung 6394c73209 Align empty module declaration with TS (#19568) 2026-07-09 12:57:47 +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 Cheungandautofix-ci[bot] 3751f82fc6 Fix union type in FunctionTypeParam without name (#19397)
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-06-17 21:20:49 +08:00
fisker Cheung 2eaad40bb2 Revert "Print ; for module declaration and declare function" (#18852) (#19333) 2026-06-10 09:22:01 +08:00
fisker Cheung 94c71e346f Remove extra parens around optional return type (#19331) 2026-06-10 08:28:51 +08:00
fisker Cheung 3b1acf2dea Improve formatting of leading comment of union type (#19288) 2026-06-04 17:16:15 +08:00
fisker Cheung ffcfe0efbb Do not expand object type with inline comments (#19287) 2026-06-04 16:51:53 +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
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
fisker Cheung d33a1b0bc0 Move tests to correct location (#19223) 2026-05-27 18:20:23 +08:00
renovate[bot]andfisker 99bdbf3674 Update dependency flow-parser to v0.314.0 (#19127)
Co-authored-by: fisker <lionkay@gmail.com>
2026-05-20 00:29:17 +08:00
fisker Cheung 69ed5dad2a Fix code frames for glimmer and hermes parser (#19163) 2026-05-19 02:58:09 +08:00
Xinzi Zhou d90aca5c60 Add test for await in async component syntax (#19138) 2026-05-13 12:18:25 +08:00
Marco Wangandfisker Cheung 3ff4e67403 Support new Flow variance syntax (#19102)
Co-authored-by: fisker Cheung <lionkay@gmail.com>
2026-04-29 15:42:44 +08:00
Michael Vitousekandautofix-ci[bot] f86027197d Print async keyword for component declarations (#19053)
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-04-15 08:27:47 +08:00
9d9d8914b6 Support readonly as Flow variance annotation (#19022)
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: fisker Cheung <lionkay@gmail.com>
2026-04-12 07:43:22 +08:00
fisker Cheung b4489dc05f Update flow parser to v0.307.0 (#19038) 2026-04-10 11:49:06 +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 0eda012bcb Print ; for module declaration and declare function without body (#18852) 2026-02-05 10:19:28 +08:00
fisker Cheung 60cf4bd86e Rewrite union type print (#18827) 2026-02-02 03:46:49 +08:00
fisker Cheung 5017d66ea7 Test: Update printWidth indicator (#10293) 2026-01-31 03:45:41 +08:00
Marco Wang c24aa46cd9 Support KeyofTypeAnnotation parentheses in Flow (#18801) 2026-01-30 12:32:29 +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 92d288e3e7 Support implicit declare in Flow (#18690) 2026-01-29 20:14:52 +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
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 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
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 ad9db7786e Add tests for Flow records (#18709) 2026-01-22 02:08:17 +08:00
fisker Cheung d28dd89e41 Respect quoteProps in enum (#18700) 2026-01-21 11:26:43 +08:00
fisker Cheung b1c75ac9ad Improve dangling comment handling in flow components (#18629) 2026-01-15 04:04:39 +08:00
fisker Cheung b0ffc1208d Add test for comments in hookTypeAnnotation (#18631) 2026-01-15 03:35:07 +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 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
George Zaharievandfisker 38745522e3 Support for Flow match instance patterns and Flow records (#18511)
Co-authored-by: fisker <lionkay@gmail.com>
2025-12-30 05:24:56 +08:00
fisker Cheung 88ffc016db Fix linebreak in member chain (#17251) 2025-12-29 15:25:29 +08:00
renovate[bot]andfisker f16e059640 Update flow-parser (#18474)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: fisker <lionkay@gmail.com>
2025-12-13 04:18:37 +08:00
fisker Cheung 29a11ae1ae Fix comment in empty type literal (#18364) 2025-11-29 00:00:52 +08:00
fisker Cheung 6ba133e80c Improve super class (or single heritage) breaking (#18325) 2025-11-26 19:43:08 +08:00
fisker Cheungandautofix-ci[bot] 3b8e7960c1 Remove extra space before union type comment (#18253)
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-11-17 13:22:09 +08:00