Ben Scott
4f6f43dec1
Add stylelint integration docs ( #5153 )
...
* Add stylelint integration docs
* Add an "Integrating With Linters" docs page
This replaces the eslint page
* PR Feedback
* Update docs/integrating-with-linters.md
Co-Authored-By: BPScott <227292+BPScott@users.noreply.github.com >
2019-04-08 08:32:24 +02:00
Nathan Totten
0d0e88cfdf
Added salesforce & heroku users ( #6004 )
2019-03-23 12:54:37 -04:00
Matthew Gerstman
15cd187519
Add Grey Logo For Dropbox ( #5997 )
2019-03-21 19:55:47 +01:00
Chris Brody
2681e87d6a
webpack@4.29.6 update in website/package.json ( #5990 )
2019-03-20 12:54:28 -04:00
Matthew Gerstman
ef48f71b7b
Add Dropbox as a user ( #5965 )
2019-03-12 14:55:06 -04:00
Lucas Azzola
f526c47b1e
Add an option to modify when Prettier quotes object properties ( #5934 )
...
* Implement quote-props=preserve
* Implement quote-props=consistent
* Add tests
* Enable quoteProps in playground
* Add documentation
* Cache objectHasStringProp calculations
* Fixup changelog
2019-03-06 20:33:08 +11:00
Jed Fox
aec3978a13
Update the language display on the homepage ( #5901 )
...
* Update the language display on the homepage
* Remove trailing slash from URLs
* HTTP → HTTPS
* Remove Python
2019-02-26 11:31:16 -05:00
Alan Foster
723a047b91
Remove archived prettier for ruby ( #5906 )
...
https://github.com/iamsolankiamit/prettier-ruby has now been archived and deprecated in favour of https://github.com/prettier/plugin-ruby
Original PR: https://github.com/prettier/prettier/pull/5841
**✨ [Try the playground for this PR](https://prettier.io/playground-redirect )✨ **
2019-02-26 12:00:51 +01:00
Lipis
fa24bacec4
Update dependent repos and integrations ( #5904 )
...
**✨ [Try the playground for this PR](https://prettier.io/playground-redirect )✨ **
2019-02-24 13:10:44 +01:00
Shahar Soel
db560e4e19
Update Languages.yml ( #5866 )
2019-02-16 22:39:40 +08:00
Shahar Soel
76e06cf98b
update stable-docs plugins.md ( #5869 )
...
- Java plugin link (in Jhipster org now)
- Added TOML plugin to stable docs (already in the regular docs).
2019-02-16 22:36:43 +08:00
Yang Su
379e84a6a4
add quip to prettier users ( #5876 )
2019-02-16 12:51:46 +11:00
Kevin Deisz
d0dd0329f2
Add @prettier/plugin-ruby package to docs ( #5841 )
...
* Add prettier-ruby package
* Move into the prettier repo
2019-02-08 12:41:36 -05:00
Nathan Totten
a093bb3f7b
Adds LWC Parser to support unquoted interop attributes ( #5800 )
...
This pull requests adds a new parser option `lwc`. This is the same as the HTML parser, but it adds support for unquoted HTML attributes per the needs of LWC. See: #5627
2019-02-01 13:58:50 +08:00
Ika
154435bb36
Bump Prettier dependency to 1.16.3
2019-01-31 12:23:34 +08:00
Ika
3c56b9ad18
Release 1.16.2
2019-01-30 16:23:45 +08:00
Ika
7faa2608c1
Bump Prettier dependency to 1.16.1
2019-01-22 21:54:32 +08:00
Ika
0274f9ca42
Release 1.16.1
2019-01-22 21:53:04 +08:00
Karl Horky
a01e6c75da
Fix typo ( #5776 )
2019-01-20 22:53:22 +08:00
Ika
1dc3c6dc2d
docs(blog): 1.16 release ( #5752 )
2019-01-20 16:01:53 +08:00
Ika
32f7e03906
Bump Prettier dependency to 1.16.0
2019-01-20 16:01:28 +08:00
Ika
3a5fc6571a
Release 1.16.0
2019-01-20 15:59:39 +08:00
Ika
3d7970a673
chore(scripts): add update-stable-docs to release script ( #5772 )
...
Ref: https://github.com/prettier/prettier/pull/5676#issuecomment-449624247
2019-01-20 11:43:26 +08:00
Jimmy Gaussen
a8d423b18c
docs: remove redundant "./" from relative links ( #5741 )
...
Fixes #5740
fixed with `sed -i "s#(\./#(#" docs/*.md website/versioned_docs/version-stable/*.md`
2019-01-10 12:06:41 -02:00
Ika
9d81ff1193
chore(website): upgrade react-dom to 16.3.3 ( #5720 )
2019-01-06 00:12:25 +08:00
Kristaps Vītoliņš
5d515e5c61
Update Webstorm integration docs ( #5694 )
2019-01-05 22:11:19 +08:00
Ika
7c4cebeaa5
feat: add babel-flow ( #5685 )
2018-12-29 21:35:47 +08:00
Ika
284764f030
fix(playground): backward compatibility for --parser babylon ( #5690 )
2018-12-28 14:56:58 +08:00
Ika
3a6c126f86
fix(playground): code sample for --parser babylon
2018-12-28 14:27:27 +08:00
Ika
86a5c40bc3
fix(playground): backward compatibility for --parser babylon ( #5688 )
2018-12-28 14:15:22 +08:00
Wei-Wei Wu
91c20f7fbe
Rename "babylon" with "babel" ( #5647 )
2018-12-27 21:05:19 +08:00
Ika
f744a84858
feat(website): enable docs versioning ( #5676 )
2018-12-25 08:20:35 +08:00
Jed Fox
b878a54e6a
Reformat the first version info in the option docs ( #5604 )
...
* Reformat the first version info in the option docs
* Make the italic text actually italic
* Update new options; reword the filepath docs
2018-12-07 13:16:31 -05:00
Lipis
7c1758de86
Update example for *.vue ( #5605 )
2018-12-07 16:34:26 +01:00
Ika
0534735c2f
fix(vue): tweak semicolon for single expression in event bindings ( #5519 )
2018-11-29 09:28:35 +08:00
Ika
514b6d3741
Bump Prettier dependency to 1.15.0
2018-11-07 09:12:25 +08:00
Ika
fa40f2ddd3
docs(blog): 1.15 release ( #5296 )
2018-11-07 09:09:04 +08:00
Tim Upchurch
f9bce75034
Update language support docs ( #5178 )
...
* Update language support docs
This commit updates docs language to reflect the change in #4528 that removes the inferred default parser.
* Remove language-support.md docs file
This removes the language support doc file as information is out dated, or available elsewhere in the docs.
* removes language-support from sidebars config
2018-11-06 19:23:04 -02:00
Ika
40f46740f6
fix(jsx): consistent quotes in JSX expression ( #5349 )
2018-11-06 15:38:50 +08:00
Ika
e022abc9b8
chore(playground): add a temporary workaround for parser-vue ( #5347 )
...
Temporary workaround
2018-11-05 22:11:59 +08:00
Jed Fox
2136fdc858
Add a preview playground redirect page ( #5321 )
...
* Add a preview playground redirect page
* Finish the code
* Third time’s the charm
* Use location.replace instead
* Add playground redirect link to PR template
* Formatted with latest Prettier :)
https://deploy-preview-5259--prettier.netlify.com/playground/#N4Igxg9gdgLgprEAuEAeAhAEQPIGEAqAmgAoCiABABYwC2ANgHwA6Uq19zrlcAhgCady5VDTgwe5MJR4AnAM5iAvExABXGADMAtAA4Vg4TACWMOnAYAlOHyMy4YY1ADmgMgJUAemOnzLD936cqABGEHwAngZsAIyW1rb2jq5+MSxCqAAOsTZ2DkbO5GEQquQwECXc5Dzp6TIQNUY88OTpdDxhTrWqUHwAdOQAkhrlcOR22QnkfBBwclCAmAQw5ADuEDIA1gA0whKUdhrKIABWPABuPHJgMkbpMEiURnKlMmE9QTxgawAUAJT6TmVvD4lMowCrECweHgMSrdSR0IxA0EjKo1OpXRojeFQNY9DyZVLCC5XG4GISQKCPcg0RpSciKcjuAB61Bg6TkSCYTHcnPcThMlFUQU5PUgNB5NTExjgMnFdhgUplXPSqjodB5n05fAA1N93D04AAPeyfKZgVSiWA9PbSuwyX5QIRCIxDT7UmC09D0qAqujfcjAAmOyTQSkAbXcACpyKoZHRyBH3FsagBdOlUmmUQOOugQMCNIzQK1wFrvOCfAAGLLZSHc7j4xZzYS0EpORjgSy0ABJgDUAL5aZtyhU9KBieEaF6i9wl9qdbrl+1B3vkOB0BT+rNkkOLVdp03mhAwEV2DGkMwWmCfADk6Svi6DK7oPXgBpguGg8FgafL+Aq1pktrkAAqhYAAy5CfN2+4XkWGg2tKvZ+ks5zkFAECLDkEBOFARgAF7WH0ADKqzPOQSAVpuky5gelohOEPQoggfC4PcdB8J8q73kIvYEh4RLXDAgTuHRES+O47CMCAGwgHUxghsgoCyLUSzELICByMgICnBARh8FJIBBDI7xrGIhHpO8eROMgMAyKocDSRJADq9zwHI5lgHAhHqSYRitjAYSaWAcgadJeQKDIMDEEZTjUsgGg8Gu9lHHIBoAEJGR8pk8KIoF5HAcUJQo0nmfI0qaRJ+n1LAjm6aCyA6AADMVtQKI5RnpJpErhSc+XSXYACOqjxFFPAxTwBWJdJCg0EY1m2UlciWWYACKqjoflSDxZNIDiEENV8HVSAAEzSTZPBGFiTjvjQsUoGho76aoCj4DwQQaZthVwL2vZAA
* Add a GIF
2018-11-05 00:11:08 +02:00
Ika
5e8a4a115a
feat: support HTML/Vue/Angular ( #5259 )
2018-11-04 23:03:07 +08:00
Beau Smith
a34b9701e5
Website and Playground Setup and Run Instructions ( #5312 )
...
Update readme with steps to setup and run locally.
Removed note about the need to run two separate processes because `yarn start` was [updated to concurrently runs both processes](https://github.com/prettier/prettier/commit/ef932741ad263f50c0bb3b08a680f8d65ab7ee7e#diff-07f3a4647460e74f9514d8def137963a ).
2018-10-31 09:07:20 +08:00
Beau Smith
6e0de08122
User can copy JSON config from Playground. ( #5295 )
2018-10-25 17:41:08 -04:00
Gilles Debunne
559831d08e
Update husky integration code for husky v1.0.0 ( #5266 )
...
Latest husky (version 1.0.0) moved its hooks config from the `scripts` field to a new `husky` field in `package.json` ([ChangeLog](https://github.com/typicode/husky/blob/master/CHANGELOG.md )).
The `scripts` syntax described here, although shorter, will be deprecated soon. This change replaces it with the new husky syntax.
The new syntax is already used in [precommit.md](https://github.com/prettier/prettier/blob/master/docs/precommit.md ).
2018-10-21 23:28:19 +08:00
Lucas Azzola
d1d1f17157
Update some plugin links ( #5282 )
...
Looks like they were overlooked.
2018-10-20 12:40:09 +11:00
Raphael Boidol
59c075b311
[ImgBot] optimizes images ( #5261 )
...
*Total -- 1,155.42kb -> 742.94kb (35.7%)
/website/static/images/users/iress-200x100.png -- 78.46kb -> 4.68kb (94.03%)
/website/static/images/users/assertible-200x100.png -- 31.41kb -> 2.68kb (91.47%)
/website/static/images/users/sevenspan-200x100.png -- 19.97kb -> 5.77kb (71.09%)
/website/static/icon.png -- 4.47kb -> 1.72kb (61.45%)
/website/static/images/users/zipch-200x100.png -- 3.91kb -> 1.64kb (58.04%)
/website/static/images/users/discord-200x100.png -- 3.18kb -> 1.42kb (55.5%)
/website/static/images/users/nrwl-200x100.png -- 25.42kb -> 11.47kb (54.89%)
/website/static/images/users/loyaltylion-200x100.png -- 5.14kb -> 2.49kb (51.58%)
/website/static/images/users/drizly-200x100.png -- 7.02kb -> 3.44kb (50.94%)
/website/static/images/users/mathrioshka-200x100.png -- 37.09kb -> 19.25kb (48.1%)
/website/static/images/users/troops-200x100.png -- 6.75kb -> 3.54kb (47.61%)
/website/static/images/languages/markdown-128px.png -- 3.66kb -> 1.93kb (47.29%)
/website/static/images/users/eyesquare-200x100.png -- 10.26kb -> 5.49kb (46.53%)
/website/static/images/editors/webstorm-128px.png -- 6.64kb -> 3.77kb (43.18%)
/website/static/images/editors/atom-128px.png -- 8.66kb -> 5.07kb (41.45%)
/website/static/images/users/lifesum-200x100.png -- 12.70kb -> 7.45kb (41.33%)
/website/static/images/users/brigad-200x100.png -- 13.67kb -> 8.06kb (41.02%)
/website/static/images/users/holidaycheck-200x100.png -- 13.79kb -> 8.30kb (39.81%)
/website/static/images/users/outreach-200x100.png -- 8.52kb -> 5.36kb (37.13%)
/website/static/images/users/hudl-200x100.png -- 8.77kb -> 5.56kb (36.66%)
/website/static/images/editors/visualstudio-128px.png -- 3.13kb -> 1.98kb (36.62%)
/website/static/images/languages/js-128px.png -- 3.34kb -> 2.12kb (36.62%)
/website/blog/assets/github-diff-ternary-in-jsx.png -- 67.71kb -> 44.43kb (34.37%)
/website/static/images/users/getonboard-200x100.png -- 5.53kb -> 3.74kb (32.43%)
/website/static/images/users/hackclub-200x100.png -- 7.90kb -> 5.44kb (31.13%)
/website/static/prettier.png -- 16.74kb -> 11.61kb (30.62%)
/docs/assets/youtube-cover/a-prettier-printer-by-james-long-on-react-conf-2017.png -- 328.21kb -> 230.23kb (29.85%)
/website/static/images/users/transloadit-200x100.png -- 10.47kb -> 7.47kb (28.66%)
/website/static/images/users/paypal-200x100.png -- 12.50kb -> 8.94kb (28.5%)
/website/static/images/users/mongodb-200x100.png -- 9.72kb -> 6.99kb (28.08%)
/website/static/images/languages/graphql-128px.png -- 8.10kb -> 5.85kb (27.71%)
/docs/assets/youtube-cover/javascript-code-formatting-by-christopher-chedeau-on-react-london-2017.png -- 137.75kb -> 100.08kb (27.34%)
/website/static/images/users/codemix-200x100.png -- 3.82kb -> 2.87kb (24.92%)
/website/static/images/users/m6web-200x100.png -- 21.61kb -> 16.69kb (22.78%)
/website/static/images/users/yelp-200x100.png -- 10.59kb -> 8.23kb (22.35%)
/website/static/images/users/react-200x100.png -- 6.72kb -> 5.23kb (22.13%)
/website/static/images/users/babel-200x100.png -- 15.44kb -> 12.08kb (21.76%)
/website/static/images/users/freelancer-200x100.png -- 5.86kb -> 4.74kb (19.08%)
/website/static/images/users/ideati-200x100.png -- 4.05kb -> 3.29kb (18.62%)
/website/static/images/users/yarn-200x100.png -- 5.75kb -> 4.71kb (18.07%)
/website/static/images/users/talkable-200x100.png -- 3.07kb -> 2.56kb (16.63%)
/website/static/images/users/webpack-200x100.png -- 5.13kb -> 4.44kb (13.49%)
/website/static/images/users/escrow-200x100.png -- 7.47kb -> 6.48kb (13.25%)
/website/static/images/users/moonmail-200x100.png -- 5.69kb -> 4.96kb (12.87%)
/website/static/images/users/jest-200x100.png -- 3.26kb -> 2.84kb (12.86%)
/website/static/images/editors/vim-128px.png -- 13.85kb -> 12.16kb (12.19%)
/website/static/images/users/nhl-200x100.png -- 11.18kb -> 9.85kb (11.92%)
/website/static/images/editors/emacs-128px.png -- 21.24kb -> 18.90kb (11.03%)
/website/static/images/users/jane-200x100.png -- 4.14kb -> 3.70kb (10.71%)
/website/static/images/users/webflow-200x100.png -- 4.51kb -> 4.08kb (9.49%)
/website/static/images/users/storybook-200x100.png -- 6.04kb -> 5.49kb (9.11%)
/website/static/images/editors/vscode-128px.png -- 14.85kb -> 13.53kb (8.9%)
/website/static/images/editors/sublimetext-128px.png -- 6.83kb -> 6.39kb (6.55%)
/website/static/images/users/zeit-200x100.png -- 0.94kb -> 0.88kb (6.45%)
/website/static/images/users/smooth-code-200x100.png -- 9.16kb -> 8.66kb (5.49%)
/website/static/images/languages/css-128px.png -- 7.21kb -> 6.87kb (4.79%)
/website/static/images/users/rnfirebase-200x100.png -- 8.63kb -> 8.26kb (4.28%)
/website/static/images/editors/espresso-128px.png -- 22.42kb -> 21.78kb (2.84%)
/website/static/images/users/monei-200x100.png -- 5.35kb -> 5.31kb (0.75%)
2018-10-16 15:07:33 -03:00
Jed Fox
b61fec6091
Fix <Language showName /> prop type ( #5265 )
...
There isn‘t a `boolean` prop type, so this was throwing an error when Netlify built the site.
2018-10-14 08:03:35 -04:00
Ika
dd4687e7ef
feat(html): whitespace-sensitive formatting ( #5168 )
...
- whitespace-sensitive formatting
- respect css `display: block`/`white-space: pre` (data from [`html-styles`](https://github.com/marionebl/html-styles ))
- support magic comment (`<!-- display: block -->`)
- add an option to specify whitespace sensitivity (`--html-whitespace-sensitivity <css|strict|ignore>`)
- magic comments take precedence
- (default) `css`: respect default css style (safe in the most cases)
- `strict`: every node is considered whitespace sensitive (the safest)
- `ignore`: every node is considered whitespace insensitive (dangerous, the original behavior)
- inline inline-tags
- support ie conditional comment (`<!--[if IE]><![endif]-->`)
- indent the script/style content
- no inconsistent output for 2+ attributes
- force break tag if there're multiline attributes
2018-10-13 13:55:38 +08:00
Marek Bodinger
095bfb8404
Add Exponea to users.yml ( #5133 )
...
* Add Exponea to users.yml
* Update exponea.svg
2018-09-22 18:05:13 -04:00