Commit Graph
374 Commits
Author SHA1 Message Date
fisker Cheungandautofix-ci[bot] 1a3ef69056 Fix bugs when replacing characters with space (#18455)
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-12-12 04:08:37 +08:00
Ravindu Liyanapathiranaandfisker f2ce657254 Don't print Angular attribute values that are single template/string literals, on new lines (#18378)
Co-authored-by: fisker <lionkay@gmail.com>
2025-12-09 14:17:41 +08:00
fisker Cheung d3eb2b2d08 Reuse arrays in visitor keys (#18386) 2025-12-01 19:33:56 +08:00
c45fef106e Fix LWC attribute with --embedded-language-formatting off (#18383)
Co-authored-by: fisker <lionkay@gmail.com>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-12-01 11:25:11 +08:00
fisker Cheung e240f15e75 Major refactor (#18381) 2025-12-01 07:25:25 +08:00
c60eca2415 Fix embed html attribute print (#18352)
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: fisker <lionkay@gmail.com>
2025-11-28 21:40:34 +08:00
fisker Cheung 01ce265822 Refactor doc modules (#18191) 2025-11-03 01:52:26 +08:00
fisker CheungandAlexander Kachkaev 03e6828bfa Improve front matter support (#18153)
Co-authored-by: Alexander Kachkaev <alexander@kachkaev.ru>
2025-10-30 22:16:54 +08:00
renovate[bot]andfisker 17cf07e68a chore(deps): update dependency @prettier/html-tags to v2 (#18141)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: fisker <lionkay@gmail.com>
2025-10-29 23:53:34 +08:00
912342210d Fix extra blank lines in Handlebars style tags (#18065)
Co-authored-by: fisker <lionkay@gmail.com>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-10-27 19:59:40 +08:00
9047a40a94 chore(deps): update dependency eslint-plugin-unicorn to v62 (#18130)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: fisker Cheung <lionkay@gmail.com>
2025-10-26 17:00:28 +08:00
fisker Cheung 356e7d9f52 Minor tweak to parseIeConditionalComment (#18051) 2025-10-12 02:38:23 +08:00
fisker Cheung 4061f83ad8 Rewrite html parsing (#18050) 2025-10-12 02:00:03 +08:00
fisker Cheung d7a3a76268 Update angular-html-parser to v10 (#18049) 2025-10-11 23:23:34 +08:00
renovate[bot]andfisker 1bc979c8da Update dependency angular-html-parser to v9 (#17365)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: fisker <lionkay@gmail.com>
2025-10-11 20:23:11 +08:00
cd42072105 Support format TOML Front Matter (#17965)
Co-authored-by: fisker Cheung <lionkay@gmail.com>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-09-28 19:36:04 +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 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 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 b35ef6a549 Refactor Markdown pragma related logic (#17950) 2025-09-24 05:43:10 +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
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 c9df58f5f9 Enable @stylistic/spaced-comment rule (#17941) 2025-09-23 17:24:03 +08:00
renovate[bot]andfisker 669891bb0d chore(deps): update dependency html-ua-styles to v0.2.0 (#17922)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: fisker <lionkay@gmail.com>
2025-09-19 14:37:55 +08:00
fisker Cheungandautofix-ci[bot] 8643c8ff89 Remove unnecessary path parameters (#17867)
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-09-12 01:34:34 +08:00
renovate[bot]andfisker f43b781b85 chore(deps): update dependency html-ua-styles to v0.1.0 (#17828)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: fisker <lionkay@gmail.com>
2025-08-30 17:02:39 +08:00
fisker Cheung 80a3b919ea Update linguist-languages to v8 (#17569) 2025-06-07 17:35:33 +08:00
fisker Cheung 2763319027 Fix HTML format that tag name is an object prototype property (#17501) 2025-06-02 22:56:07 +08:00
汐 2604b3eeb3 Add embed format support for script[type="text/jsx"] in html (#17495) 2025-05-27 09:09:14 +08:00
fisker Cheung 59c635b939 Correctly parse <mj-style> and <mj-raw> (#17400) 2025-05-06 10:31:59 +08:00
Maxime Brazeillesandfisker 906565775b Enabling CSS formatting within <mj-style> tag (#17338)
Co-authored-by: fisker <lionkay@gmail.com>
2025-05-06 09:46:15 +08:00
fisker Cheung 45d3498377 Switch html-tag-names to @prettier/html-tags (#17408) 2025-04-27 03:06:22 +08:00
fisker Cheung c84b1a1190 Minor improvement to doctype print (#17395) 2025-04-24 17:04:12 +08:00
Will Nayesandfisker 21c6f43612 Ignore single files with @noformat / @noprettier (#17344)
Co-authored-by: fisker <lionkay@gmail.com>
2025-04-18 21:28:47 +08:00
fisker Cheung b3d1f8cdc2 Add mjml parser (#17339) 2025-04-14 08:12:53 +08:00
fisker Cheung 9282520e0e Put pragma related code together (#17346) 2025-04-13 02:44:25 +08:00
fisker Cheung 9eb1b341cd Add assertions to location sensitive nodes (#17141) 2025-02-26 15:52:31 +08:00
renovate[bot]andfisker 533dc86593 chore(deps): update dependency eslint-plugin-unicorn to v57 (#17147)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: fisker <lionkay@gmail.com>
2025-02-18 16:32:16 +08:00
fisker Cheung 8e8260e533 Improve angular ICU expression print (#16922) 2025-01-09 20:08:05 +08:00
fisker Cheung 66a77da2c5 Support Vue .prop shorthand (#16920) 2024-12-21 15:36:50 +09:00
fisker CheungandSUZUKI Sosuke c7066780ef Keep non-html doctype unchanged (#16765)
Co-authored-by: SUZUKI Sosuke <aosukeke@gmail.com>
2024-11-24 19:19:01 +09:00