Commit Graph
3860 Commits
Author SHA1 Message Date
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
fisker Cheung 4d2205926d Fix inconsistent printing of class method comment (#18147) 2025-10-30 22:00:28 +08:00
fisker Cheung e5118b2650 Convert node types Set to type check function (#18149) 2025-10-30 02:15:32 +08:00
Eandfisker Cheung e51ff9ad41 Add Front Matter support to Handlebars (#17781)
Co-authored-by: fisker Cheung <lionkay@gmail.com>
2025-10-29 23:56:19 +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
Tatsunori Uchino 3df17ca1bb refactor(markdown): improve getMinNotPresentContinuousCount (#18138) 2025-10-29 02:30:50 +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
fisker Cheung d452be5cb0 Don't force handlebars elements to break in htmlWhitespaceSensitivity: "ignore" mode (#18133) 2025-10-27 08:46:30 +08:00
fisker Cheung 35dacd1aad Remove useless indent (#18132) 2025-10-27 07:32:20 +08:00
Konv Suuandfisker 28aca7bed4 Preserve spacing style between font size and line height (#18114)
Co-authored-by: fisker <lionkay@gmail.com>
2025-10-27 05:46:13 +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
Konv Suuandfisker c93e014c28 Remove indention in logical expression in Boolean() type coercion (#18087)
Co-authored-by: fisker <lionkay@gmail.com>
2025-10-24 21:42:46 +08:00
fisker Cheung 12607085aa Fix call signatures print in --no-semi mode (#18118) 2025-10-24 20:29:43 +08:00
renovate[bot]andfisker 823a335a23 chore(deps): update babel to v8.0.0-beta.3 (#18120)
* chore(deps): update babel to v8.0.0-beta.3

* Update

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: fisker <lionkay@gmail.com>
2025-10-24 07:49:03 +08:00
fisker Cheung 445074d1f3 Refactor interface body and object type print (#14111) 2025-10-22 22:38:18 +08:00
fisker Cheung 0162263830 Minor clean up after Babel v8 upgrade (#18117) 2025-10-21 23:25:11 +08:00
fisker Cheung fc70e992a7 Simplify TSModuleDeclaration print (#18116) 2025-10-21 22:55:25 +08:00
fisker Cheung 7de88d638b Replace printInterface with printClass (#18091) 2025-10-21 21:10:51 +08:00
fisker Cheung a94d3cf453 Remove extra indention in class type parameters (#18094) 2025-10-21 17:48:36 +08:00
fisker Cheung d4bd42f7f4 Fix inconsistent comment in property signature (#18110) 2025-10-21 17:40:46 +08:00
fisker Cheung 7eb39eafc0 Remove extra blank line in type alias (#18109) 2025-10-21 00:39:09 +08:00
fisker Cheung 7a20fe5c5f Improve comment printing around empty statement (#18108) 2025-10-20 17:43:24 +08:00
8d567d4f72 Keep LESS lookups tight (#17983)
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: fisker <lionkay@gmail.com>
2025-10-20 16:37:59 +08:00
fisker Cheung db0d52cbe6 Add support for plugin.printer.printPrettierIgnored() (#18070) 2025-10-20 16:18:32 +08:00
fisker Cheung 561d62a212 Fix comment attach in ForXStatement (#18099) 2025-10-19 18:49:23 +08:00
fisker Cheung 66eaaaa69a Use printObject to print import attributes (#17329) 2025-10-19 18:37:06 +08:00
fisker Cheung 6a3797983a Improve types for visitor keys (#18095) 2025-10-17 20:57:52 +08:00
fisker Cheung eca05c1750 Fix visitor keys for TypePredicate (#18090) 2025-10-17 04:10:37 +08:00
fisker Cheung cf35887b99 Fix plugin name in options (#18082) 2025-10-16 07:42:24 +08:00
fisker Cheung 9871b4931c Fix vistor keys for FunctionExpression (#18084) 2025-10-16 07:18:38 +08:00
fisker Cheung 3476a69e73 Fix getFileInfo (#18081) 2025-10-16 05:50:43 +08:00
fisker Cheung d6f7f142ab Allow plugin to override estree printer (#18072) 2025-10-16 05:47:59 +08:00
renovate[bot]andfisker 0a14c4a72c chore(deps): update dependency file-entry-cache to v11 (#18056)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: fisker <lionkay@gmail.com>
2025-10-13 18:06:00 +08:00
fisker Cheung 172c0051e3 Simplify use of getVisitorKeys by putting it directly on options (#18059) 2025-10-12 21:41:14 +08:00
fisker Cheung 1b9c98269e Enable @stylistic/no-trailing-spaces rule (#18060) 2025-10-12 21:24:05 +08:00
fisker Cheung 160288e1aa Simplify range format (#18058) 2025-10-12 20:47:36 +08:00
A1loandfisker Cheung 7930083cff fix(markdown): fix strong emphasis (#18010)
Co-authored-by: fisker Cheung <lionkay@gmail.com>
2025-10-12 20:42:57 +08:00
fisker Cheung 0f74812b5c Pass ancestors to plugin.print.canAttachComment() (#18055) 2025-10-12 19:56:44 +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 65d6e18081 Update dependency angular-estree-parser to v13.1.2 (#18048)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: fisker <lionkay@gmail.com>
2025-10-11 21:32:07 +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
fisker Cheung 5abc81f055 Improve formatting for default type on type parameters (#18043) 2025-10-11 16:15:50 +08:00
fisker Cheung 3a3db39b32 Improve comment handling between if statement condition and the "body" (#17998) 2025-10-11 16:13:44 +08:00
fisker Cheungandautofix-ci[bot] 858ace6ffa Forbid rename path in callbacks (#18038)
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-10-11 01:46:03 +08:00
fisker Cheung 05b1a783d1 Use printCallExpression to print TSExternalModuleReference (#18035) 2025-10-11 01:08:24 +08:00
fisker Cheung fc7da89a54 Improve require() call with comments (#18037) 2025-10-10 23:43:08 +08:00
fisker Cheung fbcdccbf27 Remove parts from printEstree (#18034) 2025-10-10 22:53:03 +08:00
fisker Cheung b703190f8b Refactor GenericTypeAnnotation and TSTypeReference check (#18033) 2025-10-10 22:33:30 +08:00