Commit Graph
308 Commits
Author SHA1 Message Date
Georgii Dolzhykov 6b22977cb5 Release 2.0.5 2020-04-21 20:05:11 +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
Blaine Bublitz b7571ad017 website: add Tidelift enterprise language (#7424) 2020-01-23 18:52:24 -03:00
Georgii Dolzhykov 37a7e9cd42 Merge branch 'master' into next 2020-01-22 14:55:22 +02:00
Chad Carbert aa248378e6 handlebars: Add prettier-ignore (#7275) 2020-01-20 12:19:09 +02:00
Georgii Dolzhykov 7e3c0c73b3 Merge branch 'master' into next 2020-01-14 20:36:21 +02:00
Jed Fox 0a5ace2c25 Remove the beta label from the plugin docs (#5594) 2020-01-10 03:18:46 +02:00
Panayiotis Lipiridis 35fe9ccada Merge with master 2020-01-08 14:43:19 +02:00
Christian Boehlke 7537f21b1b docs: Fix broken links (#7222) 2020-01-05 18:37:26 +02:00
Ahmad Al Maaz f280cc13b5 Fixed ALE installation instruction (#7166)
* Fixed ALE installation instruction

Since the author of the Vim plugin ALE moved the repository to an organization account, the command used to download the plugin has changed from `Plug 'w0rp/ale'` to `Plug 'dense-analysis/ale'`

* Fixed ALE urls

Fixed all ALE urls in this document
2019-12-23 16:32:44 +02:00
fisker Cheung 791996df7b Set trailingComma default value to es5 (#6963)
* Set `trailingComma` default value to `es5`

* Update `options` documentation

* Update tests

* style

* fix js code style

* change options order

* update tests_integration snap

* disable es5 for __ng_interpolation

* fix angular tests

* fix scss test

* fix `css_trailing_comma` snap

* fix css_scss snapshot
2019-11-18 11:39:12 +01:00
fisker Cheung b2c3baf008 Fix a code example in docs (#6890) 2019-11-16 12:27:31 +01:00
Kevin Deisz a3078a4a61 Add the XML plugin to the docs (#6944) 2019-11-13 09:51:11 +01:00
Simon Lydell 95b8e54d1a Release 1.19.1 2019-11-09 13:20:32 +01:00
Simon Lydell 4eb3e2650a Blog post, changelog and docs for 1.19 (#6787) 2019-11-09 01:23:57 +01:00
Simon Lydell 98d27c7de2 Bump Prettier dependency to 1.19.0 2019-11-09 01:14:31 +01:00
Simon Lydell e788e8d3d5 Release 1.19.0 2019-11-09 01:09:19 +01:00
fisker Cheung d05be09406 Fix unpkg links in docs (#6872) 2019-11-08 17:33:28 +01:00
fisker Cheung 304acbea01 Change external links to https (#6874) 2019-11-08 14:49:32 +03: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
Christian Oliff 65563e0a55 HTTPS external links (#6811)
safer and saves a HTTP requests :-)
2019-11-05 14:25:28 +03:00
fisker Cheung 545a712dc0 Revert #6333 (#6721) 2019-11-02 09:47:16 +01:00