Commit Graph
10414 Commits
Author SHA1 Message Date
fisker Cheung 00e3b7f433 Replace an array.reduce() (#17969) 2025-09-25 19:58:43 +08:00
renovate[bot] e399ccf24f Update dependency index-to-position to v1.2.0 (#17967)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-09-25 18:34:30 +08:00
fisker Cheung 397572ec2a Minor tweak to isStyledJsx (#17966) 2025-09-25 18:18:38 +08:00
Konv Suuandfisker dd5ca937df Improve embed attribute check (#17964)
Co-authored-by: fisker <lionkay@gmail.com>
2025-09-25 17:20:57 +08:00
e2d0ba890e Support format allow attribute of iframe (#17879)
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: fisker <lionkay@gmail.com>
2025-09-25 09:48:21 +08:00
fisker Cheung 9e60e840dd Refactor js embed print to use test/print pattern (#17963) 2025-09-25 09:00:10 +08:00
fisker Cheung be9adeb38b Split HTML attribute printers into test/print (#17961) 2025-09-25 08:21:23 +08:00
fisker Cheung 11540f6377 Simplify embed html detection (#17962) 2025-09-25 07:18:04 +08:00
fisker Cheung aa556151e2 Refactor embed format in HTML (#17960) 2025-09-25 05:45:58 +08:00
fisker Cheung 2ac07333b6 More parsers on reserved word tests (#17959) 2025-09-25 03:51:07 +08:00
fisker Cheung d8b26a69f1 Add tests for invalid JSX code (#17958) 2025-09-25 03:24:39 +08:00
renovate[bot]andfisker 904b014711 Update dependency oxc-parser to v0.92.0 (#17957)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: fisker <lionkay@gmail.com>
2025-09-24 23:09:21 +08:00
cfd85ee1b2 Handle CSS selectors with comment-like strings (#17938)
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: fisker Cheung <lionkay@gmail.com>
2025-09-24 18:50:38 +08:00
fisker Cheung 80a016b0f9 Clean up Babel parser (#17956) 2025-09-24 18:47:51 +08:00
Nicolò Ribaudoandfisker 6437b6dadf Update Babel to v8 (#15157)
Co-authored-by: fisker <lionkay@gmail.com>
2025-09-24 10:31:22 +08:00
fisker Cheung 21e98808a8 Add front-matter/index.js (#17955) 2025-09-24 08:56:18 +08:00
fisker Cheung 67329f4108 Use imports to replace hack in build script (#17953) 2025-09-24 08:24:17 +08:00
fisker Cheung 07007103d4 Use arrow function in simple functions (#17951) 2025-09-24 06:09:15 +08:00
fisker Cheung 857b380010 Improve editorConfigToPrettier (#17512) 2025-09-24 06:02:25 +08:00
fisker Cheung e48f0eaf78 Fix TSMappedType format with babel-ts parser (#17785) 2025-09-24 05:49:53 +08:00
fisker Cheung b35ef6a549 Refactor Markdown pragma related logic (#17950) 2025-09-24 05:43:10 +08:00
fisker Cheung 3c8e5aa8e6 Add "sideEffects": false to package.json (#17949) 2025-09-24 04:20:44 +08:00
fisker Cheung 4ec2648e61 Add location information to parseFrontMatter() (#17948) 2025-09-24 04:15:01 +08:00
fisker Cheung 6df61307be Avoid unnecessary getUnescapedAttributeValue() call (#17947) 2025-09-24 02:35:31 +08:00
fisker Cheung e1f0bdceb2 Fix HTML attribute value in AST massage (#17944) 2025-09-24 02:20:56 +08:00
fisker Cheung c885875926 Fix HTML frontMatter in AST massage (#17946) 2025-09-24 02:19:38 +08:00
fisker Cheung 85e1c89e3b Fix HTML docType value in AST massage (#17945) 2025-09-24 02:13:27 +08:00
fisker Cheung 6ec66d80fc Improve single expression detection (#17943) 2025-09-24 02:02:37 +08:00
fisker Cheung 68aaa32b34 Update yarn to v4.10.3 (#17942) 2025-09-24 01:39:32 +08:00
72cfa18a42 Support format html event attributes (#17909)
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: fisker <lionkay@gmail.com>
2025-09-24 01:29:56 +08:00
fisker Cheung b7b2b0d434 Print trailing comma in TSImportType options (#17798) 2025-09-23 17:51:36 +08:00
fisker Cheung 29622cc4f7 Fix comments get duplicated in angular interpolation (#17862) 2025-09-23 17:42:16 +08:00
Tatsunori Uchinoandfisker 70ec01f41a Improve website DX sightly (#17940)
Co-authored-by: fisker <lionkay@gmail.com>
2025-09-23 17:39:18 +08:00
fisker Cheung c9df58f5f9 Enable @stylistic/spaced-comment rule (#17941) 2025-09-23 17:24:03 +08:00
renovate[bot] 27b9d59271 chore(deps): update dependency pretty-ms to v9.3.0 (#17936)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-09-23 06:29:54 +08:00
fisker Cheung f7598377bd Fix types entry for @prettier/plugin-{hermes,oxc} (#17937) 2025-09-23 06:28:11 +08:00
renovate[bot] 57e0cd4a47 chore(deps): update dependency knip to v5.64.0 (#17934)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-09-23 06:25:59 +08:00
renovate[bot] 04001bef3a chore(deps): update dependency pretty-bytes to v7.1.0 (#17935)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-09-23 06:24:20 +08:00
renovate[bot] c2b09901ee chore(deps): update flow-parser (#17932)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-09-23 06:05:30 +08:00
renovate[bot]andfisker 808505e904 chore(deps): update typescript-eslint to v8.44.1 (#17931)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: fisker <lionkay@gmail.com>
2025-09-23 05:52:49 +08:00
fisker Cheung 74744dc568 Test invalid syntax on oxc-ts parser (#17593) 2025-09-23 05:12:51 +08:00
renovate[bot]andfisker fc3565dbd5 chore(deps): update dependency oxc-parser to v0.91.0 (#17930)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: fisker <lionkay@gmail.com>
2025-09-23 04:59:21 +08:00
a5296b3d7b Prevent break long module name in more places (#17908)
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: fisker <lionkay@gmail.com>
2025-09-23 04:14:17 +08:00
Konv Suuandfisker 1664b5da29 Fix ICSS detection for nested exports (#17929)
Co-authored-by: fisker <lionkay@gmail.com>
2025-09-23 02:12:39 +08:00
fisker Cheung e2789c3395 Forbid empty type argument/parameter list in oxc-ts parser (#17870) 2025-09-23 02:09:33 +08:00
Seiyaandfisker Cheung 9bb9556bb3 Encourage namespace import from prettier (#17928)
Co-authored-by: fisker Cheung <lionkay@gmail.com>
2025-09-20 19:31:14 +08:00
fisker Cheung 52102c976c Regenerate lock file (#17927) 2025-09-19 15:34:13 +08:00
fisker Cheung 3391910ae4 Reinstall @prettier/cli (#17926) 2025-09-19 15:13:52 +08:00
renovate[bot] b36aa12a8d chore(deps): update dependency browserslist to v4.26.2 (#17925)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-09-19 14:59:13 +08:00
renovate[bot] 9d9c1f4621 chore(deps): update dependency @vitejs/plugin-react to v5.0.3 (#17924)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-09-19 14:58:54 +08:00