Igor
a3a1025dc3
Add @poliklot/prettier-plugin-handlebars to community plugins ( #19107 )
...
docs: add poliklot handlebars plugin
2026-05-19 02:14:19 +08:00
monsonego
a3e4eaace3
docs: add prettier-plugin-powershell to community plugins list ( #19004 )
2026-04-15 13:15:47 +08:00
Stefan Gründel
d08ba6ec90
docs: add prettier-plugin-jte to community plugins list ( #19010 )
2026-04-15 13:15:06 +08:00
Andrii Dembitskyi
af93db5a61
sharable->shareable (#18880 )
2026-03-05 00:49:49 +08:00
layla
a0f0c6fd12
Fix docs: add missing 'the' in CI documentation ( #18916 )
2026-03-05 00:24:27 +08:00
Benedikt Scheffbuch and fisker
41df422efa
Remove broken link in configuration.md ( #18450 )
...
Co-authored-by: fisker <lionkay@gmail.com >
2026-01-25 05:03:55 +08:00
David
81b1c0a5ac
Fix minor typos in rationale documentation ( #18139 )
2025-12-29 20:09:45 +08:00
fisker Cheung and Alexander Kachkaev
74366fcf1d
Preserve number and string representation in json-stringify parser ( #18405 )
...
Co-authored-by: Alexander Kachkaev <alexander@kachkaev.ru >
2025-12-06 14:47:35 +08:00
fisker Cheung
d8bf3989bd
Update docs to encourage user import plugin themself ( #18411 )
2025-12-06 14:43:36 +08:00
Luke LaValva
e8e21135ab
Add Marko to the list of community plugins ( #18426 )
2025-12-05 03:37:47 +08:00
db4a55bf44
Add XQuery plugin to list of community plugins ( #18266 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: fisker Cheung <lionkay@gmail.com >
2025-11-18 16:54:36 +08:00
fisker Cheung
080f04055a
Fix JSON schema url ( #18257 )
2025-11-18 00:19:50 +08:00
Yusril A
0da474ed1d
Update json schema store url to latest ( #18225 )
2025-11-17 02:44:44 +08:00
Chris Barth and fisker Cheung
0df10b1d84
Add prettier-plugin-bigcommerce-stencil to plugins list ( #18219 )
...
Co-authored-by: fisker Cheung <lionkay@gmail.com >
2025-11-07 18:52:42 +08:00
fisker Cheung
db0d52cbe6
Add support for plugin.printer.printPrettierIgnored() ( #18070 )
2025-10-20 16:18:32 +08:00
Andrej
91408ccf6e
Add note about EditorConfig search stopping at project root ( #18061 )
2025-10-12 22:46:24 +08:00
fisker Cheung
0f74812b5c
Pass ancestors to plugin.print.canAttachComment() ( #18055 )
2025-10-12 19:56:44 +08:00
Seiya and fisker Cheung
9bb9556bb3
Encourage namespace import from prettier ( #17928 )
...
Co-authored-by: fisker Cheung <lionkay@gmail.com >
2025-09-20 19:31:14 +08:00
Seiya and fisker Cheung
a068b80168
Update doc about utils for plugin authors ( #17919 )
...
Co-authored-by: fisker Cheung <lionkay@gmail.com >
2025-09-19 12:32:48 +08:00
fisker Cheung
afd57d3247
Allow parser.preprocess to return a Promise ( #17679 )
2025-09-12 05:03:05 +08:00
小弟调调
d72c27e6d1
doc: update related-projects.md ( #17804 )
2025-09-12 01:39:12 +08:00
Remco Haszing
1f7c2f6793
docs: add monaco-prettier integration ( #17815 )
2025-09-12 01:36:17 +08:00
Chad Metcalf
b0c6c6403f
Add prettier-plugin-hugo-post to plugins list ( #17880 )
2025-09-11 03:31:34 +08:00
fisker Cheung
b55e777924
Update docs about "TypeScript Configuration Files" ( #17677 )
2025-06-26 09:40:24 +08:00
Steven Nguyen and fisker Cheung
e9045d0fcc
Docs: delete outdated part about decorators ( #17662 )
...
Co-authored-by: fisker Cheung <lionkay@gmail.com >
2025-06-24 08:10:08 +08:00
fisker Cheung
566467a671
Replace bun exec with bunx in docs ( #17647 )
2025-06-23 16:10:18 +08:00
fisker Cheung
80a3b919ea
Update linguist-languages to v8 ( #17569 )
2025-06-07 17:35:33 +08:00
fisker Cheung
275fc2eb69
Improve isSupported() ( #17490 )
2025-05-20 13:19:15 +08:00
Will Nayes and fisker
21c6f43612
Ignore single files with @noformat / @noprettier ( #17344 )
...
Co-authored-by: fisker <lionkay@gmail.com >
2025-04-18 21:28:47 +08:00
JounQin and fisker Cheung
c93393c0be
Add isSupported function support for language ( #17331 )
...
Co-authored-by: fisker Cheung <lionkay@gmail.com >
Co-authored-by: fisker <lionkay@gmail.com >
2025-04-14 09:15:43 +08:00
fisker Cheung
b3d1f8cdc2
Add mjml parser ( #17339 )
2025-04-14 08:12:53 +08:00
fisker Cheung and autofix-ci[bot]
db0afb4472
Docs: document how to use autofix.ci ( #17215 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-03-10 12:27:27 +08:00
JounQin and SUZUKI Sosuke
6f482626be
docs: add pretty-quick section back ( #17214 )
...
* docs: add pretty-quick section back
follow #15337
* 更新 precommit.md
Co-authored-by: SUZUKI Sosuke <aosukeke@gmail.com >
---------
Co-authored-by: SUZUKI Sosuke <aosukeke@gmail.com >
2025-03-10 12:42:53 +09:00
Junseong Park
2821d097e6
Docs: update cli commands ( #17172 )
2025-02-26 11:28:26 +09:00
fisker Cheung
e830ad36a7
Support URL in plugins options ( #17166 )
2025-02-25 08:45:25 +08:00
fisker Cheung
150e92fe45
Docs: Add example for module worker ( #17126 )
2025-02-16 15:31:57 +08:00
fisker Cheung
64e7dab1fd
Fix links to Prettier/Babel/Jest website ( #17079 )
2025-02-15 12:18:09 +08:00
fisker Cheung
52aee0254b
Remove Atom from website ( #17067 )
2025-02-08 17:25:42 +08:00
Nicholas C. Zakas
918aeb4ef1
Include note about Markdown ignore comments ( #17060 )
...
Include not about Markdown ignore comments
2025-02-02 23:54:30 +09:00
Will Slattum
ef7aae3964
docs: fix content change from docusaurus migration ( #17059 )
2025-01-31 09:32:26 +08:00
Lehoczky Zoltán and fisker Cheung
6a612520bc
Migrate from Docusaurus 1 to Docusaurus 3 ( #17043 )
...
Co-authored-by: fisker Cheung <lionkay@gmail.com >
2025-01-30 10:16:21 +08:00
Paul Draper and Sosuke Suzuki
bef1d61a7a
Implement objectWrap config option ( #16163 )
...
Co-authored-by: Sosuke Suzuki <aosukeke@gmail.com >
2025-01-15 16:44:45 +09:00
eed53fc29a
Break lines before binary operators ( #7111 )
...
* Add additional binary expression comment tests
Refs #3806
These cover a few edge cases I encountered while maintaining
`@btmills/prettier` over the last few years. I'm adding them up front to
demonstrate that the `experimentalOperatorPosition` changes in a later
commit have no effect on this formatting when the flag is not enabled.
* Define experimentalOperatorPosition flag
Refs #3806
This merely defines the flag. A future commit will use it in updated
logic.
* Add experimentalOperatorPosition default tests
Right now, this flag isn't implemented, so these tests duplicate the
existing behavior. I'm adding them now so that when I implement the
flag's logic in a future commit, the changed formatting will be obvious
in the diff and easier to review.
* Implement experimentalOperatorPosition flag
Fixes #3806 as requested in https://github.com/prettier/prettier/pull/7111#issuecomment-2252623779
The flag's tests were already added in a previous commit, so the test
changes you see in this commit are specifically due to the new flag's
implementation.
* Document experimentalOperatorPosition flag
* Change operator position option start|end
In response to https://github.com/prettier/prettier/pull/7111#discussion_r1729382119
* Add TS intersection line wrapping tests
This clones TypeScript's type union operator tests in `union-parens.ts`
and swaps the operators (& <-> |) to test the the type interesection
operator. It also runs intersection tests with the new
`experimentalOperatorPosition: "start"` flag. This does _not_ yet update
the implementation to consider the flag; to ease review, I'll make that
change in the next commit to isolate the impact of the change.
* Apply experimentalOperatorPosition: start to type intersections
The type union operator was already formatted at the beginning of lines
by default, so that logic didn't need to be updated.
* Update 7111.md
* Update tests after rebasing
I rebased from 1dfe28f85 to c7066780e to fix test failures related to
https://github.com/prettier/prettier/pull/16601 . The rebase applied
cleanly, and this was the only change to tests. Since the PR has
already been approved, I'll keep this as a separate commit rather than
squashing into the prior commits.
---------
Co-authored-by: fisker Cheung <lionkay@gmail.com >
Co-authored-by: SUZUKI Sosuke <aosukeke@gmail.com >
2025-01-04 01:30:51 +09:00
Norbert Elter and fisker
84de783ce6
Add support for TS config files ( #16828 )
...
* feat: prettier.config.ts
* revert
* feat: add flag
* fix: remove experimental warning
* Revert changes
* Add tests
* Update docs
* Only test on Node.js v22
* Add changelog
* Update docs
* Update examples
* Fix changelog
* Fix command
* Name `loadJs` back
* Fix
---------
Co-authored-by: fisker <lionkay@gmail.com >
2024-12-21 15:39:45 +09:00
seyeong
cf00f641b5
docs: Update Husky setup commands for PNPM users ( #16943 )
...
- Replace `npx husky init` with `pnpm exec husky init`
- Update installation command to use pnpm
- Add PNPM-specific pre-commit hook setup command
2024-12-21 15:31:49 +09:00
Joel García Nuño and fisker Cheung
6fe195b1b1
docs: fix angular link ( #16822 )
...
Co-authored-by: fisker Cheung <lionkay@gmail.com >
2024-11-25 23:40:45 +08:00
Salvatore Testa
18f0056a9d
Fix Yarn installation instructions to use yarn ( #16799 )
...
The pre-commit hook currently specifies `npx` instead of `yarn` for the Yarn project.
2024-10-30 15:27:37 +09:00
Maria José Solano
2f409df61d
fix(docs): complete sentence for astFormat ( #16774 )
2024-10-24 16:30:44 +09:00
Lehoczky Zoltán
e7ca215c3c
docs: add detailed guide for shared configs ( #16495 )
2024-10-18 14:57:01 +08:00
Marcus Pettersen Irgens and fisker Cheung
5bb04801a2
Ignore files in the Jujutsu directory ( #16684 )
...
Co-authored-by: fisker Cheung <lionkay@gmail.com >
2024-09-27 19:53:37 +08:00