fisker Cheung
0b072060b5
Merge branch 'main' into next
...
# Conflicts:
# src/language-js/print/flow.js
# src/language-js/print/literal.js
2022-08-26 10:29:09 +08:00
fisker Cheung
db21497592
Docs: Fix handleComments function signature ( #13308 )
2022-08-25 19:17:38 +08:00
Joe
a2a3849c43
Added prettier-plugin-nginx to Community Plugins list ( #13320 )
...
Added [`prettier-plugin-nginx`](https://github.com/joedeandev/prettier-plugin-nginx ) to Community Plugins list.
2022-08-21 15:48:37 +08:00
fisker Cheung
5fa0802315
Add getVisitorKeys ( #13255 )
2022-08-17 09:47:08 +08:00
fisker Cheung
86424ccc22
Remove the parsers argument for plugin.parsers.parse ( #13268 )
2022-08-16 09:52:27 +08:00
Nikolas
5910eb9204
Add prettier-plugin-prisma to list of community plugins ( #13272 )
2022-08-15 18:18:37 +08:00
Caleb Jasik
0f19075f5f
Add prettier-plugin-astro to list of plugins ( #13269 )
...
* Add prettier-plugin-astro to list of plugins
* Order the plugin correctly alphabetically
* Update creator text/link
* Update cspell dictionary
2022-08-12 17:18:55 +09:00
Georgii Dolzhykov and fisker Cheung
4d5b645e0e
Support async parser for embedded languages ( #13211 )
...
Co-authored-by: fisker Cheung <lionkay@gmail.com >
2022-08-07 00:45:06 +08:00
fisker Cheung
5aadab6f28
Support ESM plugins ( #13201 )
2022-08-06 10:42:27 +08:00
fisker Cheung
cdb1494170
Revert "Switch print/embed to async ( #13104 )" ( #13210 )
2022-08-02 18:11:34 +08:00
fisker Cheung
298347c9fb
Merge branch 'main' into next
...
# Conflicts:
# netlify.toml
# src/cli/find-cache-file.js
# src/cli/utils.js
# src/main/parser.js
# website/playground/PrettierFormat.js
# website/static/worker.js
2022-08-01 11:27:34 +08:00
JounQin
6e1effadda
docs: add sql plugin ( #13184 )
2022-07-29 01:46:35 +09:00
fisker Cheung
8dae4abf41
Switch print/embed to async ( #13104 )
2022-07-17 16:10:06 +08:00
fisker Cheung
9569ab12aa
Merge branch 'main' into next
...
# Conflicts:
# .github/renovate.json5
# .github/workflows/lint.yml
# package.json
# src/cli/format.js
# src/language-js/print/type-annotation.js
# src/language-js/print/typescript.js
# src/language-js/utils/index.js
# tests/format/typescript/enum/jsfmt.spec.js
# tests/format/vue/with-plugins/jsfmt.spec.js
# website/yarn.lock
# yarn.lock
2022-05-28 11:19:03 +08:00
fisker Cheung
e14411c278
Support async parser ( #12748 )
2022-05-04 11:15:48 +08:00
Adrian Leonhard
97cbdc3d1d
Add prettier-plugin-glsl to community plugins ( #12777 )
...
* Add prettier-plugin-glsl to community plugins
* add glsl to cspell.json
2022-05-02 21:48:58 +09:00
Alexander Sennikov and fisker Cheung
2cde2dbf9d
Add prettier-plugin-jsonata to the Plugins page in docs ( #12347 )
...
Co-authored-by: fisker Cheung <lionkay@gmail.com >
2022-02-22 09:47:46 +08:00
fisker Cheung and Alexander Kachkaev
3ba48bb266
Add --no-plugin-search ( #10274 )
...
Co-authored-by: Alexander Kachkaev <alexander@kachkaev.ru >
2022-02-18 16:36:53 +08:00
Adam and fisker Cheung
331d278a3a
Update plugin docs ( #12259 )
...
Co-authored-by: fisker Cheung <lionkay@gmail.com >
2022-02-07 15:44:47 -03:00
Josh Unger
3833515c1c
Add prettier-plugin-erb ( #11535 )
2021-09-19 16:56:39 +09:00
Georgii Dolzhykov
45188c6396
docs: improve example for printer print function ( #10587 )
2021-03-24 18:09:09 +02:00
fisker Cheung and Georgii Dolzhykov
7cc52da144
Simplified printGenerically ( #10557 )
...
Co-authored-by: Georgii Dolzhykov <thorn.mailbox@gmail.com >
2021-03-22 16:57:03 +02:00
Georgii Dolzhykov
4fc2630c16
Remove stale plugins from home page and docs ( #10538 )
2021-03-15 03:54:59 +02:00
Nathan Totten and Georgii Dolzhykov
edf8bceac6
Removed experimental plugins ( #9417 )
...
* Removed experimental plugins
Removing plugins that abuse the plugin api.
* Remove more plugins that use the API in a non-intended way
* Update version-stable
Co-authored-by: Georgii Dolzhykov <thorn.mailbox@gmail.com >
2021-02-11 23:05:49 +02:00
Georgii Dolzhykov
f3906d84d4
Refactor: rename FastPath → AstPath ( #10276 )
2021-02-10 13:42:06 +02:00
Georgii Dolzhykov
79d2f4a295
Add CLI flag for debugging comment attachment issues ( #10124 )
2021-01-27 12:30:10 +02:00
fisker Cheung
12bddae20c
Switch default branch to main ( #10115 )
2021-01-23 19:14:13 +02:00
fisker Cheung and Georgii Dolzhykov
9d9c0e2b6f
Add Doc[] as Doc ( #9733 )
...
Co-authored-by: Georgii Dolzhykov <thorn.mailbox@gmail.com >
2021-01-04 10:04:30 +08:00
Hossein Mohammadi
13078b9f75
Add prettier-plugin-jsdoc to plugins list ( #9393 )
2020-10-15 14:05:47 +08:00
Nathan Totten
23f935abf4
Moved hack plugins to experimental section ( #9392 )
2020-10-15 10:30:25 +08:00
Ari Seyhun
2bc68f11f3
community plugins: add prettier-plugin-tailwind ( #9378 )
2020-10-13 09:40:10 +09:00
Niklas
84ea6d463f
community plugins: add prettier-plugin-go-template ( #9163 )
2020-09-08 13:18:06 +03:00
Jason Siefken and Georgii Dolzhykov
c891c38fd9
Updated plugin documentation ( #8407 )
...
* Updated plugin documentation
* Spellcheck
* Wording change: attributes -> properties
* Corrected explanation
* Wording fixes
* Proofreading/nitpicking
* Reformat
* Reformat with --prose-wrap always
* Revert "Reformat with --prose-wrap always"
This reverts commit 2518a08a32818caa640303aede1c54a7ee1e5ab9.
* Reformat with --prose-wrap always
* Reformat with --prose-wrap never
Co-authored-by: Georgii Dolzhykov <thorn.mailbox@gmail.com >
2020-08-30 13:28:40 +03:00
554b15473d
Document recommended setup and improve docs overall ( #8510 )
...
Co-authored-by: Jed Fox <git@twopointzero.us >
Co-authored-by: Georgii Dolzhykov <thorn.mailbox@gmail.com >
2020-06-28 09:47:29 +08:00
Jason Siefken and Georgii Dolzhykov
6d7524c76a
Clarified usage of embed ( #8388 )
...
* Clarified usage of `embed`
Give further details about how to use `embed` in a plugin and what the call chain looks like.
* Ran prettier
* Fixed mispelling
* Small nitpicks
Co-authored-by: Georgii Dolzhykov <thorn.mailbox@gmail.com >
2020-05-24 11:19:57 +03:00
JounQin
736db9b0db
docs: add two plugins pkg and sh ( #8138 )
2020-05-06 17:17:28 +03:00
Eemeli Aro and fisker Cheung
1e44901326
docs: add prettier-plugin-properties to community plugins ( #7994 )
...
Co-authored-by: fisker Cheung <lionkay@gmail.com >
2020-04-13 12:42:43 +03:00
Simon Hänisch
3d2ee04ea9
docs: add prettier-plugin-organize-imports to list of community plugins ( #7758 )
...
* docs: add prettier-plugin-organize-imports to list of community plugins
* add simonhaenisch to cspell.json
2020-03-28 17:22:31 -04:00
Georgii Dolzhykov
9dad95b35f
Bump Prettier dependency to 2.0.0
2020-03-21 22:09:54 +02:00
Georgii Dolzhykov
cf3d9f0b80
api: remove the version parameter of getSupportInfo ( #7620 )
...
* api: remove the version parameter of getSupportInfo
* add changelog entry
* remove mapDeprecated
* Update pr-7620.md
* remove the first parameter completely
* Update api.md
* add default value for opts just to be on the safe side
2020-02-23 02:47:17 +02:00
fisker Cheung
0c93198942
Remove deprecated parser & update sharedUtil ( #6993 )
...
* Remove some old stuff
* Add changelog
* Fix test
* util changes
* restore parser
* Fix `util` usage
2020-01-29 17:32:42 +03:00
Jed Fox
0a5ace2c25
Remove the beta label from the plugin docs ( #5594 )
2020-01-10 03:18:46 +02:00
Kevin Deisz
a3078a4a61
Add the XML plugin to the docs ( #6944 )
2019-11-13 09:51:11 +01:00
Shinigami
f059d7a31b
JSDoc type added in src/common/util.js ( #6788 )
...
* JSDoc type added in `src/common/util.js`
* skip can return false
* Add TBD for false - 1 not allowed
* Define typedef SkipOptions
* Use method generic for node param
* Define node param for setLocStart and setLocEnd
* Copy idx param to local variable
* Add @returns false
* Update Utility functions docs
* hasNewline param index: allow only number
* Add condition
* Add function keyword to docs
* Add prettier-ignore
* Improve condition
* Remove TBD comment
* Use single quotes
* Add type to oldIndex
* Use singleline JSDocs
2019-11-05 13:28:44 +02:00
Georgii Dolzhykov
f8a4a61a62
fix typos ( #6642 )
2019-10-13 21:51:58 +02:00
Andrew Powell
84e7866896
docs: add prettier-plugin-package to community plugins ( #6463 )
2019-09-28 15:22:18 +02:00
Shinigami
2f40dba317
Remove alpha from plugin pug ( #6408 )
2019-08-21 19:18:04 +02:00
Alexander Kachkaev
26b55a7e33
Add prettier-plugin-packagejson to docs ( #6314 )
2019-07-20 20:43:11 +02:00
Liam Stupid Name Humphreys
9c8d920c17
add Kotlin plugin to plugins doc ( #6309 )
...
* add kotlin-plugin to plugins doc
* maintain alphabetic order in plugins list
* maintain alphabetic order in plugins list
2019-07-18 10:54:39 -04:00
Shinigami
9721f88337
Update docs - Plugin pug official ( #6267 )
...
* Change link
* Add to website
2019-07-03 17:46:20 -04:00