Commit Graph
2940 Commits
Author SHA1 Message Date
renovate[bot]andfisker 4d226d0165 chore(deps): update dependency @babel/parser to v7.27.4 (#17545)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: fisker <lionkay@gmail.com>
2025-06-02 23:22:49 +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
fisker Cheung d9b33d2990 Fix function argument incorrectly lowercased (#17502) 2025-06-02 22:55:08 +08:00
fisker Cheung c69b1d7d38 Add test for editorconfig bug (#17503) 2025-06-02 22:54:21 +08:00
fisker Cheung d8ab2b1f66 Fix exit code and result message when parser can not infer (#17505) 2025-06-02 22:53:37 +08:00
fisker Cheung 6fffbdf7c4 Add test for #15463 (#17508) 2025-06-02 22:51:53 +08:00
SUZUKI Sosuke 9f472a2a03 Remove extra indentation for :has pseudo call (#17541)
* Fix indentation condition for `selector-selector`

* Add tests

* Add changelog
2025-06-01 13:11:42 +09:00
4bb056842c Fix markdown inserts unexpected newline in lists (#16637)
* 👍 fix Markdown inserts unexpected newline in lists

I fix markdown inserts unexpected newline in lists.

This issue is reported the below link.
https://github.com/prettier/prettier/issues/8004

* 📝 add change log for PR 16637

* 👕 fix lint error for  changelog_unreleased/markdown/16637.md

There is lint error for  changelog_unreleased/markdown/16637.md,
threfore I fix it with 'prettier --write' command.

* 👍 remove template comment for changelog file

* 👍 Remove markdown: from change log title

I remove 'markdown:' from change log title.

* 👍 fix suggested if condition

The suggested condition of the bellow URL is better than current one.
I fix it.

https://github.com/prettier/prettier/pull/16637#discussion_r1919169511

* Update 16637.md

---------

Co-authored-by: fisker Cheung <lionkay@gmail.com>
Co-authored-by: SUZUKI Sosuke <aosukeke@gmail.com>
2025-06-01 02:39:54 +09:00
SUZUKI Sosuke 0f553baffc Don't print extra semicolon after prettier-ignored index-signature (#17538)
* Don't print extra semicolon after `prettier-ignore`d index-signature

* Update snapshots

* Add changelog
2025-05-30 18:22:16 +09:00
fisker Cheung 4df0a871ca Add hermes parser (#17520) 2025-05-29 15:30:45 +08:00
fisker Cheung f037a2674c Support Angular 20 (JS part) (#17534) 2025-05-29 15:03:17 +08:00
fisker Cheung 242b524eb1 Fix optional chaining as computed key (#17486) 2025-05-28 03:26:56 +08:00
renovate[bot]andfisker 55405ce082 chore(deps): update babel to v7.27.3 (#17523)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: fisker <lionkay@gmail.com>
2025-05-28 03:18:28 +08:00
fisker Cheung 9e814108ca Add oxc-ts parser (#17483) 2025-05-27 13:32:23 +08:00
fisker Cheung 3c1475b1e7 Refactor Enum print (#17497) 2025-05-27 11:24:41 +08:00
fisker Cheung 230bba53a9 Forbid new line before arrow (#17516) 2025-05-27 10:46:57 +08:00
fisker Cheung a930383437 Support type cast comments for oxc parser (#17518) 2025-05-27 10:46:20 +08:00
fisker Cheung 40d9a7e2b0 Update oxc-parser to v0.72.0 (#17517) 2025-05-27 09:56:21 +08:00
fisker Cheungandautofix-ci[bot] c26d23c955 Add oxc parser (#17472)
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-05-27 09:35:31 +08:00
Leonardo Montiniandfisker abb43bf287 Forbid use --config and --no-config together (#12221)
Co-authored-by: fisker <lionkay@gmail.com>
2025-05-27 09:16:26 +08:00
fisker Cheung a358006a92 Rewrite TSMappedType print (#17498) 2025-05-27 09:11:00 +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 441cb1e132 Fix comments in tagged template literal (#17510) 2025-05-27 09:08:27 +08:00
renovate[bot]andfisker bba5dc430c chore(deps): update dependency file-entry-cache to v10.1.0 (#17438)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: fisker <lionkay@gmail.com>
2025-05-27 09:06:53 +08:00
fisker Cheung d667dd5b52 Fix production test warning on Node.js 24 (#17456) 2025-05-21 11:58:26 +08:00
2e78cb5834 Support type cast comments for acorn parser (#17491)
Co-authored-by: fisker <lionkay@gmail.com>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-05-20 14:38:34 +08:00
fisker Cheung 275fc2eb69 Improve isSupported() (#17490) 2025-05-20 13:19:15 +08:00
fisker Cheung 4cd55a287d Add a test for angular interpolation (#17433) 2025-05-15 11:35:10 +08:00
fisker Cheung 2349a6ee6f Fix inconsistent assignment format (#17469) 2025-05-15 11:27:32 +08:00
fisker Cheungandautofix-ci[bot] b5378edeeb Fix inconsistent member chain format (#17470)
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-05-15 11:27:22 +08:00
Arnaud Barréandfisker 98a06cd5b9 Preserve empty directive in JS for non Babel parsers (#17461)
Co-authored-by: fisker <lionkay@gmail.com>
2025-05-15 02:17:06 +09:00
fisker Cheung 74726b4838 Fix filenames (#17453) 2025-05-09 02:18:38 +08:00
renovate[bot]andfisker 8f666df193 chore(deps): update dependency linguist-languages to v7.30.0 (#17435)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: fisker <lionkay@gmail.com>
2025-05-07 10:15:15 +08:00
fisker 60fcf1ae31 Fix CLI test flags 2025-05-06 11:57:42 +08:00
fisker Cheung d4fd92e266 Bundle "Experimental CLI" (#17396) 2025-05-06 10:34:05 +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 Cheungandautofix-ci[bot] 38dc5dee18 Parse Prettier config with yaml (#17410)
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-05-06 08:18:50 +08:00
o-m12a d4684bf10e Add more tests for reserved words (#17416) 2025-04-29 22:41:13 +08:00
fisker Cheung 45d3498377 Switch html-tag-names to @prettier/html-tags (#17408) 2025-04-27 03:06:22 +08:00
SUZUKI Sosukeandautofix-ci[bot] d3332e06d3 Preserve spaces between CSS words and embedded expression (#17398)
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-04-25 10:11:50 +08:00
fisker Cheung e7202d63e7 Refactor mockable functionalities (#17392) 2025-04-23 23:42:19 +08:00
fisker Cheung 369817b61f Measure time with performance.now() instead of Date.now() (#17390) 2025-04-23 02:51:20 +08:00
fisker Cheung a8557aa6df Remove stdin mock (#17389) 2025-04-23 02:30:55 +08:00
fisker Cheung 8c7aa6957b Remove outdated mock (#17391) 2025-04-23 02:25:01 +08:00
fisker Cheung 05a5ff54d0 Add failed test back (#17384) 2025-04-22 17:17:47 +08:00
fisker Cheung 6f4c89f8f9 Update snapshot format for CLI test (#17386) 2025-04-21 23:34:55 +08:00
fisker Cheung 42346f2ef7 Run CLI test in child_process (#17382) 2025-04-21 18:58:44 +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 b289ecbb19 Remove support for tupleAndRecord (#17363) 2025-04-17 04:53:05 +08:00