Commit Graph
360 Commits
Author SHA1 Message Date
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
fisker Cheung 643f8906e0 doc: improve examples in browser (#9811) 2020-12-12 23:10:59 +02:00
fisker CheungandSosuke Suzuki 6df49ad078 Fix link to babel website (#9856)
Co-authored-by: Sosuke Suzuki <aosukeke@gmail.com>
2020-12-12 23:10:01 +02:00
sosukesuzuki 81cf06129b Merge branch 'patch-release' 2020-11-28 09:28:07 +09:00
sosukesuzuki 326543f908 Release 2.2.1 2020-11-28 09:21:04 +09:00
Georgii DolzhykovandLucas Azzola 3a6d659ecc Update option philosophy: option requests aren’t accepted anymore (#8540)
* Update option philosophy: option requests aren’t accepted anymore

* Update docs/option-philosophy.md

Co-authored-by: Lucas Azzola <lucas.azzola@iress.com>

* Update option-philosophy.md

Co-authored-by: Lucas Azzola <lucas.azzola@iress.com>
2020-11-26 19:19:40 +02:00
fisker 114fe2e6cc Fix typo 2020-11-20 13:34:43 +08:00
fisker 81303dab8c Docs: Add missing meriyah parser 2020-11-20 13:24:02 +08:00
sosukesuzuki 42b2195e71 Release 2.2.0 2020-11-20 13:44:18 +09:00
ed49bf10a0 Moved pre-commit support to github.com/pre-commit/mirrors-prettier (#8937)
Co-authored-by: fisker Cheung <lionkay@gmail.com>
Co-authored-by: sosukesuzuki <aosukeke@gmail.com>
2020-11-16 18:27:34 +08:00
Georgii Dolzhykov d6858d52ad Changelog edits for 2.2 (#9603) 2020-11-05 13:07:29 +09:00
Sosuke Suzukiandfisker f7554c62a2 Revert breaking changes related to adding pure css parser for minor releasing (#9500)
* revert without tests

* Downgrade postcss-scss and postcss-less

* Fix tests

* Revert "Make `isSCSS*` function stricter (#9093)"

This reverts commit 01f986bea9.

* Revert "Remove `css` parser from `isLessParser` check (#9092)"

This reverts commit c0bca1805d.

* Revert "Add pure css parser (#7933)"

This reverts commit 589ebf670b.

* Disable `parser-postcss.js` minify

* Try to fix build script

* Update fs.mjs

* Update fs.mjs

* Style

Co-authored-by: fisker <lionkay@gmail.com>
2020-10-31 22:22:35 +09: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
fisker CheungandChris Brody 73e3976c34 Add espree parser (#9000)
Co-authored-by: Chris Brody <chris.brody+brodybits@gmail.com>
2020-10-13 09:14:02 +08:00
Ari Seyhun 2bc68f11f3 community plugins: add prettier-plugin-tailwind (#9378) 2020-10-13 09:40:10 +09:00
Yuku Kotaniandfisker 549090a5ba Add ESM distributions for browser (#8983)
Co-authored-by: fisker <lionkay@gmail.com>
2020-09-17 00:08:44 +08:00
sosukesuzuki dbc856f9bc Merge branch 'patch-release' 2020-09-16 09:54:44 +09:00
sosukesuzuki 8eb8f9ed2d Release 2.1.2 2020-09-16 09:46:05 +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
fisker Cheung 589ebf670b Add pure css parser (#7933) 2020-08-28 13:07:49 +08:00
sosukesuzuki 18bcaefc77 Release 2.1.1 2020-08-26 13:20:21 +09:00
sosukesuzuki 6365138f40 Release 2.1.0 2020-08-24 20:24:48 +09:00
e3d1f0dee0 CLI: Add --ignore-unknown (#8829)
Co-authored-by: Georgii Dolzhykov <thorn.mailbox@gmail.com>
Co-authored-by: sosukesuzuki <aosukeke@gmail.com>
2020-08-21 09:11:59 +08:00
fisker Cheung 7c318cc677 Support .prettierrc.json5 config file (#8957) 2020-08-15 21:16:49 +08:00
dependabot[bot]andfisker 07fbf265fa Build(deps): Bump cosmiconfig from 6.0.0 to 7.0.0 (#8890)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: fisker <lionkay@gmail.com>
2020-08-10 21:59:41 +08:00
Ted Mokeandfisker Cheung 7348a9de14 Docs: Fix links (#8850)
Co-authored-by: fisker Cheung <lionkay@gmail.com>
2020-07-28 20:19:10 +08:00
Ned Twigg 6fc127af28 [docs] Add spotless integrations (maven and gradle) (#8816) 2020-07-28 12:02:05 +08:00
fisker Cheung 466d4638b4 CLI: Add -w alias for --write option (#8833) 2020-07-27 10:10:01 +08:00
Radon Rosborough 065f037df8 Mention Apheleia in list of Emacs plugins (#8793) 2020-07-20 21:17:07 +08:00
Anders Kaseorg bd679a7625 Bump loglevel of issues reported by --check to warn (#8703)
When prettier --check is run by a script that combines the output from
dozens of separate linters, any progress output like “Checking
formatting...” and “All matched files use Prettier code style!” is
just noise that makes it harder to see whether there are real
errors. Bump the loglevel of issues reported by --check from log to
warn so that the noise can be selectively silenced with
--loglevel=warn.

Signed-off-by: Anders Kaseorg <andersk@mit.edu>
2020-07-14 22:13:51 +08:00
solimant b22ed01625 Remove the precise-commits section (#8722)
Unfortunately, the precise-commit repo does not seem to have been maintained for about two years:
- [most recent commit](https://github.com/nrwl/precise-commits/commit/803871289f59e2c326b4d20c08e6b1b862c0408e) to master was on Mar 27, 2018
- [most recent release](https://github.com/jameshenry/precise-commits/compare/v1.0.1...v1.0.2) was on Feb 16, 2018
- [most recently closed issue](https://github.com/nrwl/precise-commits/issues/19) was closed on Jul 29, 2018

I have [requested](https://github.com/nrwl/precise-commits/issues/58) archiving.

This is sad. I could think of several use-cases where a tool like `precise-commits` could be very useful, especially for already matured projects that are trying to onboard linting and prettifying.
2020-07-11 20:07:01 +08:00
Simon Lydell ca437912cc Update stable docs (#8652) 2020-07-01 08:44:21 +02: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
Georgii Dolzhykov e2e72154d6 Add a disclaimer about non-standard syntax (#8613) 2020-06-22 13:25:33 +03:00
fisker Cheung eb6ff31c26 Docs: Update resolveConfigFile usage example (#6873) 2020-06-18 20:09:10 +08:00
fisker Cheung fbf0beb716 Fix inferredParser when calling getFileInfo() with resolveConfig: true (#8551) 2020-06-17 18:47:56 +08:00
Nicolas Tonneandfisker beffe11235 Prettier needs an absolute path instead of relative (#7530)
* Prettier needs an absolute path instead of relative

* Remove outdated image

* Fix merge issue

Co-authored-by: fisker <lionkay@gmail.com>
2020-06-03 08:46:01 +03:00
Kessir Adjaho ccc96cd43e Change Alt to Opt in MacOS shortcut (#8447)
The `Alt` key on Mac keyboards is `Option`
2020-06-01 21:39:21 +03:00
Georgii Dolzhykov 47ed9a77e3 Add the browser and unpkg field to package.json (#8387) 2020-05-25 14:51:54 +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
fisker Cheung f2c1d70918 JS: pragma support files with shebang (#8376) 2020-05-23 19:28:05 +08:00
Georgii Dolzhykov a081bf812c Close simple docs related issues (#8289)
* close #7805

* close #5571

* close #5121

* partially address #8094
2020-05-12 16:00:28 +03:00
Christian Oliff 19545e049e docs: HTTPS link (#8273) 2020-05-10 14:00:02 +03:00
JounQin 736db9b0db docs: add two plugins pkg and sh (#8138) 2020-05-06 17:17:28 +03:00
fsterneder 24fc5f6bb5 Update vim.md (#8232)
According to [coc.nvim](https://github.com/neoclide/coc.nvim/blob/4b7375d16cfc182abce5e9039f5c77bb4f5fe67b/autoload/coc/util.vim#L885) coc#util#install() support will be removed.
2020-05-06 15:36:01 +03:00
Georgii Dolzhykov bba220ec0f Merge branch 'patch-release' 2020-04-21 20:13:24 +03:00
Georgii Dolzhykov 6b22977cb5 Release 2.0.5 2020-04-21 20:05:11 +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