Commit Graph
656 Commits
Author SHA1 Message Date
Seiyaandfisker 42d733b8cb Improve .prettierignore file (#17632)
Co-authored-by: fisker <lionkay@gmail.com>
2025-06-23 08:15:40 +08:00
fisker Cheung 25e214543e Add test for #11526 (#17551) 2025-06-23 07:50:29 +08:00
renovate[bot]andfisker 09370615a4 chore(deps): update dependency meriyah to v6.1.2 (#17634)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: fisker <lionkay@gmail.com>
2025-06-23 07:46:25 +08:00
Seiyaandautofix-ci[bot] 84ee9016ba Get JSX in arrow in method call to be consistent (#17616)
* add failing test

* fix #17489

* add more tests

* refactor ...but perhaps get ugly? I'm not sure

* Apply automated changes

* utilize path.match

* add changelog

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-06-22 00:51:13 +09:00
Baptiste Rouxandfisker 2e608cd8f1 fix(yaml): do not insert line break before an empty map or sequence (#17513)
Co-authored-by: fisker <lionkay@gmail.com>
2025-06-20 05:33:25 +08:00
fisker Cheung dd8d59b983 Fix isTypeModuleObjectExpression (#17599) 2025-06-20 04:11:49 +08:00
renovate[bot]andfisker 5314d8fdb9 chore(deps): update dependency oxc-parser to v0.73.2 (#17611)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: fisker <lionkay@gmail.com>
2025-06-19 05:46:28 +08:00
renovate[bot]andfisker c209924e4e chore(deps): update typescript-eslint to v8.34.1 (#17608)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: fisker <lionkay@gmail.com>
2025-06-18 03:21:56 +08:00
renovate[bot]andfisker 4a4639d308 chore(deps): update dependency meriyah to v6.1.1 (#17607)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: fisker <lionkay@gmail.com>
2025-06-17 14:38:57 +08:00
renovate[bot]andfisker d63e3c301d chore(deps): update dependency oxc-parser to v0.73.0 (#17604)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: fisker <lionkay@gmail.com>
2025-06-15 04:14:13 +08:00
fisker Cheung 1bcdc07ace Forbid parenthesized expressions in JSON (#17598) 2025-06-12 20:03:29 +08:00
fisker Cheung 98b7dd03ab Add checkPrivateFields: false to acorn parser (#17594) 2025-06-12 04:52:36 +08:00
renovate[bot]andfisker e306eb0ce7 chore(deps): update dependency espree to v10.4.0 (#17586)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: fisker <lionkay@gmail.com>
2025-06-10 21:27:57 +08:00
renovate[bot]andfisker 61e6fbc0ec chore(deps): update typescript-eslint to v8.34.0 (#17585)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: fisker <lionkay@gmail.com>
2025-06-10 04:55:03 +08:00
fisker Cheung 2c7f02a7ab Enable decorators tests on flow and typescript parser (#17484) 2025-06-09 16:28:45 +08:00
renovate[bot]andfisker dcb0e109ff chore(deps): update dependency acorn to v8.15.0 (#17580)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: fisker <lionkay@gmail.com>
2025-06-09 02:11:18 +08:00
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 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 230bba53a9 Forbid new line before arrow (#17516) 2025-05-27 10:46:57 +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
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
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 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
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
o-m12a d4684bf10e Add more tests for reserved words (#17416) 2025-04-29 22:41:13 +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
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
SUZUKI Sosuke bd959e1757 Support @utility directive for Tailwind (#17362)
* Ignore operators in `@utility` directive

* Add tests for `@utility` directives

* Add changelog
2025-04-16 11:55:21 +09:00
fisker Cheung b3d1f8cdc2 Add mjml parser (#17339) 2025-04-14 08:12:53 +08:00
f3486cfbc5 Remove extra colon after track in angular @for control-flow (#17280)
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: fisker Cheung <lionkay@gmail.com>
2025-04-14 08:10:04 +08:00
Florian Diemingerandfisker 91c563e323 Fix adjacent markdown syntax in blockquote (#16596)
Co-authored-by: fisker <lionkay@gmail.com>
2025-03-28 20:00:57 +08:00