Commit Graph
66 Commits
Author SHA1 Message Date
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 Sennikovandfisker 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 CheungandAlexander Kachkaev 3ba48bb266 Add --no-plugin-search (#10274)
Co-authored-by: Alexander Kachkaev <alexander@kachkaev.ru>
2022-02-18 16:36:53 +08:00
Adamandfisker 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 CheungandGeorgii 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 TottenandGeorgii 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 CheungandGeorgii 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 SiefkenandGeorgii 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 SiefkenandGeorgii 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 Aroandfisker 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
Shinigami 5ceb4858ee Remove not publish from plugin pug (#6258) 2019-07-01 13:10:45 +02:00
Lipis d628d8cd79 Remove Python plugin (#6255) 2019-06-28 23:21:53 +02:00
Shinigami f9c4ca7b38 Add Pug plugin to the list of plugins (#6246)
ref #6245
2019-06-24 07:29:35 -04:00
Hugo Alliaume b38319740a feat: autoload plugins that are located in `@*/prettier-plugin-* (#5945)
* add tests

* implement the feature

* update docs

* update changelog

* typo
2019-03-10 20:34:04 +11:00
Alan Foster 723a047b91 Remove archived prettier for ruby (#5906)
https://github.com/iamsolankiamit/prettier-ruby has now been archived and deprecated in favour of https://github.com/prettier/plugin-ruby

Original PR: https://github.com/prettier/prettier/pull/5841

**✨[Try the playground for this PR](https://prettier.io/playground-redirect)✨**
2019-02-26 12:00:51 +01:00
Kevin Deisz d0dd0329f2 Add @prettier/plugin-ruby package to docs (#5841)
* Add prettier-ruby package

* Move into the prettier repo
2019-02-08 12:41:36 -05:00
Shahar Soel 038b0d8e85 Update plugins.md (#5829)
- Added link to toml prettier plugin (alpha version released).
- Changed link and owner of Java plugin as it was moved to the Jhipster org.
2019-02-06 12:07:17 +11:00
James Birtles ca43aad88a Add svelte plugin to plugins page (#5827) 2019-02-04 09:57:18 +08:00
Franco Victorio 1802ce1d9d Add tutorials section to plugins doc (#5805) 2019-01-30 14:11:03 +08:00
Jimmy Gaussen a8d423b18c docs: remove redundant "./" from relative links (#5741)
Fixes #5740

fixed with `sed -i "s#(\./#(#" docs/*.md website/versioned_docs/version-stable/*.md`
2019-01-10 12:06:41 -02:00
Franco Victorio 14730106db Add solidity plugin to list of plugins (#5726) 2019-01-07 07:57:09 +08:00
Nathan Totten cce4a2683a Added Apex plugin (#5318) 2018-10-31 17:08:56 +02:00
Evilebot Tnawi 023a8b78df feat: more shared utils for plugins (#5254) 2018-10-17 07:53:38 -07:00
Evilebot Tnawi 7fd346ffa1 feat: newline and space utils to shared (#5049) 2018-09-04 23:08:37 +03:00
Ika 50c9115632 feat: add printer.preprocess (#5041)
Sometimes we need to transform the ast to make it easier to print, but it's currently done in the parser (markdown and yaml), which leads the output ast harder to use for external users (custom parser), adding `printer.preprocess` can solve this issue.

And also this way we could move the trailing newline for json from `ast-to-doc.js` to `language-js`.
2018-09-03 23:27:50 +08:00