Seiya and fisker
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] and fisker
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
Seiya and autofix-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
renovate[bot] and fisker
1652973553
chore(deps): update dependency hermes-parser to v0.29.0 ( #17631 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: fisker <lionkay@gmail.com >
2025-06-20 20:24:19 +08:00
Baptiste Roux and fisker
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
8d53e726a1
Remove since from SupportLanguage and ChoiceSupportOption.options types ( #17578 )
2025-06-20 04:12:51 +08:00
fisker Cheung
dd8d59b983
Fix isTypeModuleObjectExpression ( #17599 )
2025-06-20 04:11:49 +08:00
fisker Cheung
7a91dc4a59
Revert "Support type cast comments for espree parser ( #17587 )" ( #17614 )
2025-06-19 15:49:38 +08:00
renovate[bot] and fisker
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] and fisker
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] and fisker
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] and fisker
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
17cdff607a
Support type cast comments for meriyah parser ( #17600 )
2025-06-13 17:27:07 +08:00
fisker Cheung
3b0f33539f
Support type cast comments for espree parser ( #17587 )
2025-06-13 16:56:42 +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] and fisker
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] and fisker
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] and fisker
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
86fc1c1091
chore(deps): update dependency oxc-parser to v0.72.2 ( #17532 )
...
Co-authored-by: overlookmotel <theoverlookmotel@gmail.com >
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: fisker <lionkay@gmail.com >
2025-06-07 18:31:27 +08:00
fisker Cheung
80a3b919ea
Update linguist-languages to v8 ( #17569 )
2025-06-07 17:35:33 +08:00
fisker Cheung
f03061ae8d
Fix experimental-cli test ( #17570 )
2025-06-06 03:06:03 +08:00
fisker Cheung and autofix-ci[bot]
7fb9875413
Allow plugin override builtin parsers when inferring parser ( #17549 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-06-05 17:23:49 +08:00
fisker Cheung and autofix-ci[bot]
d49444352a
Fix plugin loading in prettier.getFileInfo() ( #17548 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-06-05 17:10:39 +08:00
renovate[bot] and fisker
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] and fisker
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 Cheung and autofix-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 Montini and fisker
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] and fisker
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