Commit Graph

394 Commits (70d6352d32cfc7276e3594c1a5d98e5defb3c1bb)

Author SHA1 Message Date
Ika c2d90f14d8
docs(blog): 1.14 release (#4857) 2018-07-29 15:25:22 +08:00
Ika 02f64af6e3
fix(vue): no error on range format (#4868) 2018-07-22 15:58:29 +08:00
Marvin Heilemann 85eb3b63ad Added Unibeautify (#4834)
Added `unibeautify-vscode` plugin for VSCode as an alternative prettier for VSCode
2018-07-11 09:45:19 -07:00
Ika c4be0a57c3
feat(playground): add description for options (#4785)
* feat(playground): add description for options

* fix: support opposite description

* refactor
2018-07-02 08:23:21 +08:00
Yangshun Tay 94d928b9eb Upgrade Docusaurus to 1.3.1 (#4738) 2018-07-01 10:59:20 -03:00
Ika b4a92c6ee5
feat(playground): use real code sample (#4770)
* feat(playground): double click to insert example

* fix: correct condition

* feat: real code sample

* fix: remove unnecessary updateValue

* feat: auto-select on focus
2018-07-01 16:17:25 +08:00
Rhys Bower 2c2283ea7d Update Jest URL to jestjs.io (#4756) 2018-06-26 22:05:45 -03:00
Ika dcf44ffbdc
feat: support YAML (#4563)
* feat: support YAML

* fix: do not indent sequence in mappingValue

* docs: add yaml to index.md

* fix: reduce `SyntaxError: Node#parse consumed no characters`

* chore: remove old-build and new-worker.js

* refactor

* refactor

* refactor

* refactor

* refactor

* refactor

* refactor

* refactor

* refactor

* refactor

* refactor

* refactor

* fix: no space after `<<`

* fix: add yaml to standalone test

* test: add tests

* fix: next empty line in flow collection

* fix: tabs are not allowed
http://yaml.org/spec/1.2/spec.html#space/indentation/

* fix: update parser

* feat: rewrite the mappingItem logic
* feat: indent sequence in mapping
* feat(doc): add ifBreak#groupId and group#id

* chore: fix node 4

* chore: add tools_yaml.svg

* chore: remove resolved TODO

* refactor: remove unnecessary workaround

* chore(worker): importScriptOnce

* chore(build): rename with babelPlugins

* make it rollup compatible

* feat: support singleQuote

* refactor
2018-06-21 10:29:42 +08:00
Ika c5bbee67d3
fix(playground): no unnecessary import (#4653) 2018-06-09 00:01:14 +08:00
Jed Fox 1669a7b38b
Redirect the broken 1.13 blog link to the correct one (#4570)
* Redirect the broken 1.13 blog link to the correct one

https://twitter.com/prettiercode/status/1000819715374272515

* Redirect the broken 1.13 blog link to the correct one

https://twitter.com/prettiercode/status/1000819715374272515

* Revert "Rename 2018-05-27-1.13.0.md to 2018-05-23-1.13.0.md"

This reverts commit bce668af05.

* Fix redirect target
2018-05-28 07:24:09 -04:00
Suchipi 2303d6801f website: Change pre overflow-x to auto (#4573)
`overflow-x: scroll` shows scrollbars under every code block even if they aren't scrollable:

![scrollbar](https://user-images.githubusercontent.com/1341513/40591633-f0e85540-61d1-11e8-9906-c0c67d432d26.png)
2018-05-28 11:00:43 +10:00
Lipis bce668af05
Rename 2018-05-27-1.13.0.md to 2018-05-23-1.13.0.md
To fix the broken link on Twitter.. https://twitter.com/PrettierCode/status/1000819715374272515
2018-05-27 23:47:32 +03:00
Lucas Duailibe 7b723d345d Fix unpkg URL 2018-05-27 17:18:54 -03:00
dnalborczyk a227df916a fix spelling (#4568)
* fix spelling

* fix more things
2018-05-27 16:58:54 -03:00
Suchipi f5f84977a5
Rename 2018-05-23-1.13.0.md to 2018-05-27-1.13.0.md
Context: https://github.com/prettier/prettier/pull/4530#issuecomment-392359122
2018-05-27 13:36:48 -06:00
Suchipi e0b6a328aa
Fix typo in 1.13 blog post 2018-05-27 12:44:20 -06:00
Lucas Duailibe 412b064df8 Format docs with Prettier 1.13 2018-05-27 15:38:31 -03:00
Lucas Duailibe 0d57f22098 Use new worker on playground 2018-05-27 15:24:50 -03:00
Lucas Duailibe 9ee6d0bf55
1.13 release notes (#4530) 2018-05-27 15:18:07 -03:00
Lucas Duailibe 1c66625f37
Add standalone docs (#4550) 2018-05-27 15:17:38 -03:00
Lucas Duailibe f40b82d183
Fix playground (#4541) 2018-05-24 21:11:12 -03:00
Lucas Duailibe 52a2a46b3c
New build system (#4449) 2018-05-24 15:30:45 -03:00
Lucas Azzola 938d2f06be
Update dependent count in website (#4515)
[155,216](https://github.com/prettier/prettier/network/dependents) now!
2018-05-20 12:58:37 +10:00
Suchipi ec45dc9a4c
(refactor): Move common options out of JS plugin (#4445)
* (refactor): Move common options out of JS plugin

* Add Common category to playground
2018-05-15 14:14:50 -06:00
Ika 1062f2a889
feat: support JSON.stringify formatting (#4450)
* test: move tests

* feat: support legacy JSON formatting

* fix: add missing assertion

* test: fix coverage

* fix: same output as JSON.stringify

* refactor: fix linting

* refactor: rename to json-stringify

* refactor: fix linting

* fix: should fix the production build

* docs: remove outdated name

* fix(playgound): add lib/parser-json-stringify.js

* feat(playgound): add example for json-stringify

* fix: no error on singleQuote string

* fix(playground): correctly load json-stringify

* fix: identifier is only allowed in ObjectProperty.key

* refactor: clearer
2018-05-14 09:12:25 +08:00
Christian Gill 18eebc89fc Add HousingAnywhere to users (#4476) 2018-05-13 16:53:21 -04:00
Ika 92485601eb
refactor: fix linting 2018-05-10 02:27:56 +08:00
Lucas Duailibe f48dd0ea3b
Simplify `build-docs.js` (#4453) 2018-05-09 14:41:51 -03:00
Lucas Duailibe edcebb0d54
Fix playground (#4454) 2018-05-09 14:27:25 -03:00
Lucas Duailibe ef932741ad
Add concurrently to website `yarn start` (#4441) 2018-05-08 16:53:49 -03:00
Johann Hubert Sonntagbauer 1a6cf3d071 revert changes to code mirror gutter styles (#4419) 2018-05-04 13:31:53 -03:00
Lucas Duailibe c77f1e5987 [playground] Fix doc debug 2018-05-03 10:12:06 -03:00
Lucas Duailibe 6ceba37f9f
Add miniprettier to website and docs (#4411) 2018-05-02 12:51:28 -03:00
Johann Hubert Sonntagbauer 3a99fe5d65 [playground] fix overflow in safari (#4406)
* [playground] fix overflow in safari

* options panel will not outgrow editors panel

* fix overflow in safari 10.1

* fix odd code mirror gutter placement during overflow
2018-05-01 09:41:25 -03:00
Johann Hubert Sonntagbauer 1e69119354 [playground Prevent overflow in Firefox (#4394) 2018-04-28 17:38:22 -03:00
Jed Fox c37861d08b
Add a redirects file (#4321)
* Add a redirects file

* Remove non-working redirects
2018-04-26 11:41:52 -04:00
Ika b46a46b112 fix(playground): add missing `input` code sample for `copy markdown` (#4382) 2018-04-26 00:37:29 -03:00
Kostas Bariotis 9d5a7c7c66 Edit metrics as seen at NPM/GitHub network (#4379) 2018-04-26 10:54:45 +08:00
Ika 317f3a3c56
feat: split out JSON5 (#4367)
* feat: split out JSON5

* test: update snapshots

* test: update debug-check tests

* feat(playground): use JSON's code sample for JSON5

* fix: add missing trailing newline
2018-04-25 22:10:22 +08:00
Ika 643e2a83d6 feat(typescript): support TaggedTemplateExpression typeParameters (#4353)
* test: add tests

* feat(typescript): support TaggedTemplateExpression typeParameters

* fix(playground): `buffer is not defined` in `--parser typescript`

* chore(deps): update typescript-eslint-parser
2018-04-24 08:45:06 -05:00
Vlad Korobov 80196b6553 Metric.ai users (#4358)
* Metric.ai logo added

* Metric.ai users data added

* style: remove extra trailing newline
2018-04-23 22:59:30 +08:00
Lucas Duailibe 3bc9b68cf6 Remove old playground files 2018-04-20 12:10:32 -03:00
Lucas Duailibe b611c62dea last minute fixes 2018-04-20 11:50:36 -03:00
Lucas Duailibe 1f320a6031 range support 2018-04-20 11:30:47 -03:00
Lucas Duailibe 57cdf314d5 rename 2018-04-20 09:54:15 -03:00
Lucas Duailibe c794de0e9f start overlay support 2018-04-19 19:23:38 -03:00
Lucas Duailibe 9ca95011c0 refactor panels.js 2018-04-19 16:30:35 -03:00
Lucas Duailibe 961d25560f placeholder + refactors 2018-04-19 14:31:35 -03:00
Lucas Duailibe a7a65aceb2 fix empty hash 2018-04-19 13:56:10 -03:00
Lucas Duailibe f3cf50515d fix node 4 problem 2018-04-19 13:55:58 -03:00
Lucas Duailibe a485da206c run prettier 2018-04-17 19:40:02 -03:00
Lucas Duailibe 1ed3865cb6 lint fixes 2018-04-17 18:09:36 -03:00
Lucas Duailibe 971da5f8c1 lint fixes 2018-04-17 17:29:44 -03:00
Lucas Duailibe fcb9cb0f69 revert a css change 2018-04-17 17:02:26 -03:00
Lucas Duailibe 0ca6ff691e simplify some stuff 2018-04-17 16:42:03 -03:00
Lucas Duailibe 2172ed95bf refactor & fixes 2018-04-17 16:09:44 -03:00
Lucas Duailibe fc52887e94 optimize panel updates 2018-04-17 14:50:53 -03:00
Lucas Duailibe a398ec31b8 cached dependencies 2018-04-17 14:13:23 -03:00
Lucas Duailibe 33c00ca111 handling PR versions 2018-04-17 13:53:20 -03:00
Lucas Duailibe 1f7e48aa46 remove dead code 2018-04-17 13:42:05 -03:00
Lucas Duailibe f90560e6e9 second format 2018-04-17 13:40:55 -03:00
Lucas Duailibe 79a3ec1a04 lift formatting up 2018-04-17 10:28:35 -03:00
Lucas Duailibe ce81ae134c remove unused code 2018-04-13 03:11:41 -03:00
Lucas Duailibe eea6f068b4 refactors 2018-04-12 18:09:37 -03:00
Lucas Duailibe 94b5ab4d6e copy buttons + version link at the top 2018-04-12 15:09:04 -03:00
Lucas Duailibe 1c8dd0c1e7 more stuff 2018-04-12 13:28:28 -03:00
Lucas Duailibe c08aa1e4f8 moving files around 2018-04-12 12:16:16 -03:00
Lucas Duailibe 871ae13bb6 included doc debug 2018-04-12 11:54:30 -03:00
Lucas Duailibe 9e1a0d2e72 Merge branch 'master' into new-playground 2018-04-12 11:04:35 -03:00
Suchipi Izumi 6ae20cbdb8 1.12.0 2018-04-11 22:31:54 -06:00
Lucas Duailibe 7b3fecf976 show ast 2018-04-11 22:28:50 -03:00
Lucas Duailibe faceecc776 add graphql mode 2018-04-11 21:01:36 -03:00
Lucas Duailibe 3ab84ad343 include rulers 2018-04-11 20:55:37 -03:00
Lucas Duailibe 602f47c185 moving stuff 2018-04-11 20:33:56 -03:00
Lucas Duailibe d3924d7bdf fix prop-types problem 2018-04-11 19:20:42 -03:00
Lucas Duailibe 2e4df1f6ca remove prop types 2018-04-11 19:19:33 -03:00
Lucas Duailibe 47430d0c19 some huge changes 2018-04-11 18:22:03 -03:00
Lucas Duailibe 4cee59a9cf update 2018-04-11 14:29:07 -03:00
Lucas Duailibe 243c99b821 Merge branch 'master' into new-playground 2018-04-11 14:28:19 -03:00
Lucas Duailibe a3be9f5505 fix lint 2018-04-11 14:26:48 -03:00
Lucas Duailibe 4edfb67f55 Include webpack to bundle the playground 2018-04-11 14:16:00 -03:00
Lucas Duailibe bfa1aaf503 Merge branch 'master' into new-playground 2018-04-11 11:39:17 -03:00
Lucas Duailibe 46c8a4cd9d
Move sw-toolbox to `website` dependencies (#4297) 2018-04-11 11:38:48 -03:00
Lucas Duailibe 4cedfee962 update 2018-04-10 22:31:03 -03:00
Lucas Duailibe d474d5c550 Merge branch 'master' into new-playground 2018-04-10 21:49:46 -03:00
Christian Zosel 79d480eb27 Blog post announcing first alpha release of PHP plugin (#4289) 2018-04-10 15:04:56 +03:00
Ika 7029346887
fix(playground): correct rangeStart/rangeEnd value (#4273) 2018-04-06 22:06:33 +08:00
James Henry 74ad0014aa Playground: Add support for rangeStart and rangeEnd (#4216)
This allows users to more easily reproduce and report issues such as:

- https://github.com/prettier/prettier/issues/3789
- https://github.com/prettier/prettier/issues/4206
...etc...
2018-04-04 15:54:05 -04:00
Lipis f23ce27856 More than 800/100k (#4204) 2018-03-26 07:12:07 -04:00
Alexander Kachkaev fb428629fb Add Elm plugin to website's home page (#4163)
* Add Elm plugin to website's home page

Supplements #4161

* Order plugins alphabetically

* Add link to elm-format
2018-03-26 13:26:01 +11:00
Zac Anger 8fe88007db Add Jane.com to users (#4189) 2018-03-21 16:08:23 -06:00
Lipis feb41a5516
Richer markdown example in the playground (#4176)
* Richer markdown example in the playground

* Link is back
2018-03-19 16:32:06 +02:00
Ika 23cd5d44f7 fix(playground): no undefined parsers (#4159) 2018-03-16 11:37:08 -03:00
Simon Lydell 8ab09cc753 Add playground examples for all languages (#4107)
* playground: Add GraphQL example

* playground: Add markdown example

* playground: Add Flow example

* playground: Add Less example

* playground: Add Vue example
2018-03-06 20:09:16 +11:00
Wesley Abbey f224087cef Add Drizly to users (#4105) 2018-03-05 11:12:45 -03:00
Lipis 9103cd227e
More than 80,000 dependent repositories (#4096) 2018-03-03 17:45:16 +02:00
Kai Cataldo 8265b0e874 Fix typo on on landing page of site (#4075) 2018-02-28 19:39:11 -03:00
Lipis 23f032f348 Fix @orta's link (#4060) 2018-02-27 06:15:45 -05:00
Stephen Scott 51202f4b6e Format 2-26 blog post with prettier 2018-02-26 18:47:55 -07:00
suchipi b1b504fc96
1.11 Release Notes and Changelog (#4035)
* Add blog post with changelog

* Add release notes link to CHANGELOG.md

* Fix typo in tab ternary fix code block

* Fix an unfinished edit

* Add missing parens

* Update 2018-02-23-1.11.0.md

* Update 2018-02-23-1.11.0.md

* Add more release notes

* Update 2018-02-23-1.11.0.md

* prettier -> Prettier

* Update date

* cleaner

* casing

* Update CHANGELOG.md

* Update 2018-02-26-1.11.0.md

* Update 2018-02-26-1.11.0.md

* Update 2018-02-26-1.11.0.md
2018-02-26 18:17:38 -07:00
Lucas Azzola 79196030a7
Webpack -> webpack 2018-02-25 22:06:03 +00:00
Lucas Azzola 9ee113cd2e
webpack/webpack now uses Prettier (#4039) 2018-02-25 16:12:36 +11:00
Lucas Azzola 010933375c
Mention webstorm built-in support on homepage (#4037) 2018-02-24 17:08:30 +11:00
Lipis 0b4d731fe5 Upgrade SVGO and more settings (#4018)
* Upgrade SVGO and more settings

* Update
2018-02-22 12:24:04 -05:00
Steffen Weber 9643d33702 Add ComputerBase to list of users (#4027) 2018-02-22 14:17:35 +02:00
Lipis f60bae61b8
Add license to website/package.json (#4017) 2018-02-21 15:39:58 +02:00
Lipis 927570e67a
Add Ruby to homepage and code (#4016) 2018-02-21 15:36:59 +02:00
Lipis a8110923ea
Add Google Site Verification file (#4015) 2018-02-21 15:18:54 +02:00
Skubie Doo 4347f481bb Add JSON example (#3995)
* Add JSON example

Not sure if this is a good or useful example case.

* Add license link

* Add link to source example

* Remove extra license link

As requested, only one link is necessary
2018-02-20 00:07:19 +08:00
Lipis f0ce1556b5 More than 70k 2018-02-19 12:22:38 +01:00
Johnny L 1b61b819d7 Fix links in footer (#3981) 2018-02-19 09:59:43 +08:00
Jed Fox 87ed835095
Remove unnecessary quotes from YAML configuration files (#3969)
* Remove unnecessary quotes from users.yml

* Remove unnecessary quotes in editors.yml

* Remove unnecessary quotes in languages.yml
2018-02-14 01:52:55 +00:00
Jack Morgan 160d0e63aa Adding Leesa to users.yml (#3955) 2018-02-13 16:36:08 -05:00
Lipis 1656fbf7a2
Upgrade Docusaurus to a stable version (#3874) 2018-02-12 18:32:33 +02:00
Lipis 8acc969b35
SVGO single files and some instructions (#3915)
* SVGO single files and some instructions

* yarn

* Words

* *italics*

* Evidently my style isn’t pretty enough
2018-02-11 14:46:26 +02:00
Lucas Azzola 7b2349dcd2
Set os.EOL in worker.js (#3935) 2018-02-09 21:31:48 +11:00
Lipis 465abe8360 Add Facebook to users (#3867)
* Add Facebook to users

* Size

* :)

* FB

* Revert
2018-02-07 22:02:51 +11:00
Sandhose 6b5765da36 Use the animated logo on the website's landing page (#3910)
* Use the animated logo on the landing page

* docs: Add build step to copy logo css

* docs: Shrink the logo when the screen is small
2018-02-07 09:47:14 +11:00
Lipis 4f2b3eb98b
Cleanup unused script (& sort) (#3908) 2018-02-06 17:59:22 +01:00
Lipis b67f2563d9 Normalize SVGs using svgo (#3907) 2018-02-06 09:25:05 -07:00
Lipis 89508462bb
60,000+ dependencies (#3901) 2018-02-06 12:35:32 +01:00
Lucas Azzola 047363a1f4
Revamp landing page (#3718)
* Begin landing page revamp

* Break the editor integrations onto their own lines

* Add template string

* Add editor line breaks

* Make logo clickable

* Add more docs links

* Don’t split the editor list items into paragraphs

* Break plugin onto its own line

* Move the “Why” button to the bottom of the block

* Use suggested font

* Change font

* Change footer color

* Add assets from @orta

* Fix fonts

* Use new editor assets

* Add npm/yarn button

* Switch to npx

* Minor mobile tweaks

* Add dependants

* Lots of zeros are cooler to look at than a “k”

* Improve button sizes, respect prefers-reduced-motion

* Fixup media breakpoints for Get Started section

* Increase padding of editors

* CSS fixes from code review

* Prevent repeatedly clicking on the logo from selecting nearby text

* dependant -> dependent

* Various CSS tightening

* Set flex-basis on editors

* Add new languages panel

* Improve layout of languages

* Cleanup grouping code

* Fix users layout

* Fix language image widths

* space-evenly -> space-between

* Fix typo

* Remove unused var

* Various CSS fixes

* Set overflow-x: auto on code

* Improve languages layout

* Add silly cursor

* Make logo 'draggable'

* [Site] Margins and paddings (#2)

* [Site] Margins and paddings

* [Site] Bring back the link to why, that's a good guide worth linking to

* Improve logo mobile usage

* Improve responsive layout of editors

* Use static SVG for the moment (#3)

* Use the static logo for the moment

* Fix the broken JS, from going static, and make overscroll the right color

* Fix padding
2018-02-06 20:52:39 +11:00
Lipis 125868c083
Remove commented out code (#3886) 2018-02-05 22:59:38 +01:00
Kevin Peters d8ecf26ef6 Add 3YOURMIND to users.yml (#3881) 2018-02-03 09:35:14 -05:00
Simon Lydell e591b00005
Add option philosophy to docs (#3855) 2018-02-02 08:07:58 +01:00
Lipis 487e6074e4 Remove redundant quotes from image links in .yml files (#3860)
* Remove redundant quotes from image links in .yml files

* Moar

* Moar
2018-02-01 16:38:03 -05:00
tobenna 13112d6784 Adding LoyaltyLion to users (#3869) 2018-02-01 19:48:16 +01:00
Florent Dubost 93fb2de30d Add M6Web user (#3863) 2018-02-01 15:20:01 +01:00
Adrien HARNAY ff32edc4ad Add Brigad to list of users (#3862)
* Add image

* fix

* Fixed format
2018-02-01 13:34:40 +01:00
chrisbianca 3f2714c17f Add React Native Firebase to the list of users (#3859) 2018-02-01 12:17:06 +01:00
Martin Brännstrand f23546800b Added Lifesum to list of users (#3858)
* Added LIfesum logo

* Added LIfesum to list of users
2018-02-01 01:41:30 -07:00
Adishwar Rishi cba0a4778e Add Escrow to the list of users (#3857) 2018-02-01 01:40:23 -07:00
Lachlan Campbell 8d5863f408 Add Hack Club to user showcase (#3856)
* Add logo

* Add Hack Club to user showcase
2018-02-01 14:03:38 +08:00
Andrew Boyton d51b76855d Add Freelancer to the list of users (#3854)
We love Prettier and have been using it for a while now.
2018-01-31 16:58:28 -05:00
Vlad Holubiev a3b973c245 Add Shelf to Users Page (#3851) 2018-01-31 15:47:21 +01:00
Lipis 7a7eb17082
fix: Proper case for Prettier, JavaScript, TypeScript, GitHub, Less (#3848) 2018-01-31 11:56:05 +01:00
TheDancingCode b0ad6ec9c3 Fix deprecation warning from Github Buttons on website (#3783)
Using data-show-count instead of data-count-api.
2018-01-22 07:56:28 -05:00
Jed Fox b92f1cd0ae
Use an SVG <object> tag to allow the Twitter button to be interactive (#3739)
* Use an SVG <object> tag to allow the Twitter button to be interactive

The interactive button links you to a page to follow the user directly, so I also added a direct link to the profile.

* Lint
2018-01-15 09:02:30 -05:00
Amadeus Demarzi 443e8fa3f3 Add Discord to users.yml (#3736) 2018-01-12 17:14:04 -07:00
Harry Wolff d0044074b1 Add MongoDB (#3733) 2018-01-12 14:10:58 -08:00
Michael Sharer 0e0fa5cc23 Add NHL to users list (#3703)
* Update users.yml

* Add NHL to users list
2018-01-11 00:23:15 +08:00
Haroen Viaene 408f3d3657 playground: add (s)css examples (#3696)
* playground: add (s)css examples

see #3667

* escape quotes

* add license notice

* lol fix prettier on prettier codebase
2018-01-10 07:57:04 -05:00
Jed Fox 9a1b57587d Add 1.10 blog post (#3659)
* Add 1.10 blog post

Copied from releases page

* Change a few things

* Add overview of changes

* Lint docs

* Scaffold out release notes

* Add prettier-ignores

* docs: add missing references

* docs: fix heading level

* docs: fix example

* Document plugin API

* Use shellsession

* docs: fix example

* docs: fix links

* Fix heading level

* change: ts upgrade -> numeric separator support

Instead of mentioning we updated the typescript version, we should emphasize on what value we added to users

* Fix repeated phrase

* add comment type annotation explanation

* Add note on no more wrapping () JSX elements

* Grammar

* Add more release notes

* Fill out remaining release notes

* Fix lint

* Add verb

* Fix heading level

* Update 2018-01-10-1.10.0.md

* Update 2018-01-10-1.10.0.md

* Add twitter buttons

* docs: add note for #3694

* Fix cake
2018-01-10 23:03:39 +11:00
Lucas Azzola b1a7787e87
Fix vue self-closing tags (#3693) 2018-01-10 18:44:18 +11:00
Marcel Jackwerth a27d19b2c1 Allow Plugins to preprocess text (#3664)
* Allow Plugins to preprocess text

* Actually pull up text

* Always expect the preprocessor to set the text

* Add tests for preprocessing

* Remove unused variable
2018-01-10 00:27:26 +11:00
Jed Fox dc4e44968f
Follow redirects in the user URLs (#3672)
(except the ones redirecting to `/en/` or similar)

Also remove trailing slashes on domains
2018-01-08 10:32:33 -05:00
Ika 5e2e7a2881 feat(playground): add example placeholder (#3657)
* feat(playground): add example placeholder

* Add TypeScript example

* fix: mock process.binding

* fix: add missing comma

* refactor: use legacy function

* fix: mock return `{}`

* Return the error stack when there’s a non-SyntaxError thrown

* Code style

* fix: mock path.resolve

* chore: cache placeholder.js

* fix mock path.resolve attempt 2

* fix: mock path.{parse,join,dirname}

* fix: mock process.cwd

* fix: mock path.parse root
2018-01-07 06:59:14 -05:00
michele e4e3c757fb Added GumGum to list of users (#3660) 2018-01-05 22:40:00 -02:00
Tejas Kumar 053202cc16 Added Contiamo to list of users (#3655) 2018-01-06 02:05:02 +11:00
Ika dbe0758b48 chore: shorten filename (#3636)
Context: https://github.com/prettier/prettier/pull/3627#issuecomment-354935942
2018-01-02 23:48:46 -05:00