Commit Graph
328 Commits
Author SHA1 Message Date
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
Kevin Gibbons 22d149b9f6 Add --embedded-language-formatting={auto,off} option (#7875) 2020-04-11 20:22:44 +03:00
6dcd73bcd0 Update steps for running Prettier on save in WebStorm (#7978)
* Updated WebStorm configuration

* Minor edits in WebStorm docs

* Removed trailing spaces

* #4320: add paths for the global installation to the WebStorm docs

* Update steps for running Prettier on save in WebStorm

* Update the link for WebStorm on the main page

* fix markdown linting errors, `prettier` → Prettier

Co-authored-by: Ekaterina.Prigara <ekaterina.prigara@MUNIT-289.fritz.box>
Co-authored-by: Georgii Dolzhykov <thorn.mailbox@gmail.com>
2020-04-10 13:25:25 +03:00
Georgii Dolzhykov f859cafb84 partial revert of #7937 2020-04-06 15:51:21 +03:00
Georgii Dolzhykov 61ca50df67 Release 2.0.4 2020-04-06 14:54:54 +03:00
Georgii Dolzhykov ea5f3b043f Release 2.0.3 2020-04-05 23:47:18 +03:00
fisker Cheung 096c28f080 Fix docs code style (#7937) 2020-04-03 18:44:03 +08:00
Brad Adams 70da4fa630 docs: fix broken links (#7919) 2020-04-01 03:25:17 +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
lorrylockie 9483ccde99 Correct "ellipsis" (#7854)
Correct "ellipsis"
2020-03-24 14:52:17 +02:00
Georgii Dolzhykov b4a5225770 docs: autocrlf option of Travis CI 2020-03-24 04:24:10 +02:00
Georgii Dolzhykov 607afd7b36 Release 2.0.2 2020-03-24 00:32:35 +02:00
Georgii Dolzhykov fac9ce07fe mention npx in install docs 2020-03-23 14:40:41 +02:00
Georgii Dolzhykov c5c9332d77 Release 2.0.1 2020-03-22 01:05:58 +02:00
Georgii Dolzhykov 9dad95b35f Bump Prettier dependency to 2.0.0 2020-03-21 22:09:54 +02:00
Georgii Dolzhykov 5b3028e220 Release 2.0.0 2020-03-21 21:59:05 +02:00
Georgii Dolzhykov b3008f2caf Merge remote-tracking branch 'remotes/upstream/master' into next 2020-03-21 00:56:36 +02:00
Hugo Locurcio 43aaef6cdf Fix broken HTML anchor in the Rationale documentation (#7783)
The italic Markdown formatting is included in the automatically
generated ID, so it must be present in the references as well.
2020-03-17 23:09:19 +02:00
Georgii Dolzhykov 3f1c46373a Expand directories in CLI (2020) (#7660) 2020-03-17 01:34:32 +02:00
fisker Cheung 31c5798e59 Memoize loadPlugins (#7485) 2020-02-27 16:43:02 +02:00
Georgii Dolzhykov 6748840174 Merge remote-tracking branch 'remotes/upstream/master' into next 2020-02-27 02:49:35 +02:00
Georgii Dolzhykov 1f64401915 remove --stdin (#7668) 2020-02-27 02:19:52 +02:00
Jesse Hallett 61d3936b6e Add docs on using prettier with git-format-staged in a pre-commit hook (#7074)
* Add docs on using prettier with git-format-staged in a pre-commit hook

* wording change to use case description

* Add "unstage" and "unstaged" to cspell dictionary

* add note about Python requirement
2020-02-25 13:11:47 +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 647c041b57 Check pattern existence before glob (#7587) 2020-02-19 12:57:39 +02:00
fisker Cheung 9d9f39cb7c Add missing comma in technical-details.md (#7549) 2020-02-06 15:25:02 +03: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
JounQinandGeorgii Dolzhykov c1937cb1b8 feat: add new parser babel-ts to parse TypeScript syntaxes via Babel (#6400)
* feat: add new parser `babel-ts` to parse TypeScript syntaxes via Babel

* docs: document parser babel-ts

* chore: enable babel-ts in markdown and worker.js

* verify all TS tests against babel-ts except disabled by disableBabelTS

* support for TSDeclareMethod; fix abstract properties and methods

* fix embedded angular templates and styles

* fix TSImportType

* simplify babel options combinations

* fix method decorators

* fix ranges

* work around loc inconsistencies for SequenceExpression

* don't print trailing comma in type parameters (unsupported in TS < 3.3)

* preserve quotes for class properties

* align printing of single-parameter functions

* fix comments in degenerate single-element unions and intersections

* fix comments for methods

* fix comments for mapped types

* edit docs, change 'since' to 2.0.0

* add changelog

* fix code sample on playground

* update snapshots after rebase

Co-authored-by: Georgii Dolzhykov <thorn.mailbox@gmail.com>
2020-01-29 14:11:16 +02:00
Panayiotis Lipiridis 0c51368d33 Merge branch 'master' of github.com:prettier/prettier into next
* 'master' of github.com:prettier/prettier:
  Clarify API docs (#7402)
  Fix typo (#7425)
  [docs] Add Tidelift to cspell.json
  website: add Tidelift enterprise language (#7424)
  Use BOM string instead of BOM charCode (#7420)
2020-01-29 13:45:45 +02:00
Alexander Kachkaev e00ce8c2c8 Change arrowParens to always by default for 2.0 (#7430) 2020-01-29 13:31:25 +02:00
Alexander Kachkaev 1b3a5d3572 Change endOfLine to lf by default for 2.0 (#7435)
* Towards changing default value for endOfLine

* Update tests and snapshots

* Add placeholder for changelog_unreleased

* Add CHANGELOG

* Undo adding snapshot tests for auto as it does not play well on Windows in CI

* Tweak changelog

* Update jest snapshot
2020-01-28 23:35:47 +02:00
Alexander Kachkaev 210db4700c Document changes in 6963 (#7441)
* Document 6963

* Minor tweaks

* Minor edit

* Add a note on the changed default value in options.md to keep things in sync
2020-01-28 19:09:06 +02:00
Jack SteamandGeorgii Dolzhykov a858a315e9 Clarify API docs (#7402)
* Clarify API docs

It is not immediately obvious how to set the language (parser), hopefully this will save others time.

* improve wording

Co-authored-by: Georgii Dolzhykov <thorn.mailbox@gmail.com>
2020-01-25 16:19:42 +02:00