fisker Cheung
d49d64c280
Use lang instead of fake file name in oxc parser ( #17726 )
2025-07-14 00:26:11 +08:00
7c186a195e
chore(deps): update babel to v7.28.0 ( #17696 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: fisker <lionkay@gmail.com >
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-07-03 12:49:01 +08:00
fisker Cheung and autofix-ci[bot]
46526b49b6
Add missing blank line around code block ( #17675 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-06-27 10:48:16 +08:00
37f6e09589
Avoid closing files multiple times in getInterpreter( #17665 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: fisker Cheung <lionkay@gmail.com >
2025-06-25 14:27:33 +08:00
fisker Cheung
4292cbf2ef
Disable experimentalRawTransfer for oxc parser ( #17663 )
2025-06-24 10:16:38 +08:00
fisker Cheung
0926587a5f
Allow const without initializer in oxc-ts parser ( #17654 )
2025-06-24 00:26:42 +08:00
fisker Cheung
93bc1dfd0f
Allow const without initializer in babel-ts parser ( #17650 )
2025-06-23 18:31:03 +08:00
fisker Cheung
e0055d2f03
Avoid break TSImportType with long module name ( #17637 )
2025-06-23 09:19:31 +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
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
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
renovate[bot] and fisker
ee90bbb751
chore(deps): update dependency meriyah to v6.1.0 ( #17601 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: fisker <lionkay@gmail.com >
2025-06-13 17:00:30 +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
fisker Cheung
079aebf8b1
Remove supportTypeCastComments passed to postprocess ( #17588 )
2025-06-11 01:50:56 +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
b95cb103d5
Improve isIndentableBlockComment ( #17568 )
2025-06-05 18:40:50 +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
Arnaud Barré and fisker
eaa40aa266
Improve postprocess perf for type cast comments ( #17566 )
...
Co-authored-by: fisker <lionkay@gmail.com >
2025-06-05 16:58:30 +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
d8ab2b1f66
Fix exit code and result message when parser can not infer ( #17505 )
2025-06-02 22:53:37 +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
8e75fde187
Simplify oxc parser parsing ( #17531 )
2025-05-28 21:15:20 +08:00
fisker Cheung
242b524eb1
Fix optional chaining as computed key ( #17486 )
2025-05-28 03:26:56 +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 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
renovate[bot] and fisker
a5c6425b74
chore(deps): update dependency diff to v8.0.2 ( #17506 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: fisker <lionkay@gmail.com >
2025-05-23 14:16:25 +08:00
fisker
b6aedcc374
Update VisitorKeys
2025-05-22 14:05:57 +08:00
fisker
a962dfefa5
Update VisitorKeys
2025-05-22 13:57:27 +08:00