Commit Graph
17 Commits
Author SHA1 Message Date
Jed Fox dc68a3d9a6 Break link definitions onto multiple lines when needed (#3531)
* Break link definitions onto multiple lines when needed

* Simplify the conditional for breaking the title

* Don’t print the title if it’s blank

* Revert "Don’t print the title if it’s blank"

This reverts commit 2a8d0dd9995a2e5ab8e6d888c07b88dda058637f.

* Add another test

* Fix title printing

* Second time’s the charm

* Third time’s the charm?

* Fix snapshot

* Prettify

* Don’t break unless `proseWrap` is `always`

* Test `proseWrap: never` on link references
2018-05-14 06:17:37 -04: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
Jed Fox 63a2ded4c9 Never print a semicolon after export default interface Foo {} (#4128)
* Never print a semicolon after `export default interface Foo {}`

* Add test
2018-04-11 06:38:02 -04:00
Jed Fox 78a4f51662 Wrap ternaries in Flow typecasts in parens (#3940)
* Wrap TypeCastExpression in parens

* Tests
2018-02-14 11:19:39 +00: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
Jed Fox 114895a8a2 Link to the plugin docs in the README (#3762) 2018-01-18 08:54:36 +11: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
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
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
Jed Fox 1a3248bbc2 Change the changelog link to link to prettier/prettier (#3564)
* Change the changelog link to link to prettier/prettier

* Fix changelog links

* Double quotes
2017-12-26 00:04:02 -05:00
Jed Fox 3ef89b5fa1 Merge pull request #3562 from j-f1/patch-1
Make the playground header fit in with the rest of the site
2017-12-24 13:36:50 -05:00
Jed Fox 9cbaecbb1e Link the version text to the PR or changelog entry 2017-12-24 12:05:54 -05:00
Jed Fox eb30207fe5 Remove the v marker addition
It looks terrible on PRs.
2017-12-24 11:57:44 -05:00
Jed Fox 4497aa1efc Make the playground header fit in with the rest of the site
Fixes https://github.com/prettier/prettier/issues/3542.
2017-12-24 11:49:47 -05:00
Jed Fox 5ccc213a21 Conform the quotes in Markdown link titles to the singleQuote option (#3481)
* Add an option to utils.printString to use the passed string as-is

* Conform the quotes in Markdown link titles to the singleQuote option

* Don’t use destructuring

* Add some tests

* Format util.js

* Use custom string-printing logic

* Add some more tests

* Fix tests

* Address review comments

* Revert "Format util.js"

This reverts commit d2533ef7fb9231e2f733ece7decac9b923cf6941.

* Revert "Don’t use destructuring"

This reverts commit a5d3b0ac76a076e9a89cffc8cec396cabeacd1ee.

* Revert "Add an option to utils.printString to use the passed string as-is"

This reverts commit ef8e8322609ca3c2808885f3fadcd03f0790078c.

* Even more tests
2017-12-24 15:44:38 +01:00
Jed Fox 9780c00332 Update the command documentation and add types (#3494)
* Update the command documentation and add types

* Fix signatures

* Remove the <T> generic of the Doc type for easier reading

* Move the types inline with the docs

* Prettify the code; unignore the code blocks

* Put back some ignores; add more semicolons;
2017-12-19 10:17:35 +11:00
Jed Fox 7d9f71d488 Add root: true to .eslintrc.yml (#3519) 2017-12-18 23:46:28 +11:00