Olivier Tassinari
a3ddcb65d2
docs(users): add Material-UI ( #3198 )
2017-11-08 07:30:14 +08:00
Bob Nisco
f0fc9f7029
Add Outreach to users ( #3192 )
2017-11-08 00:55:07 +08:00
Lucas Azzola
fdd0dbfdd2
1.8.1
2017-11-07 23:38:55 +11:00
Lucas Azzola
b099771e5f
Add IRESS to users ( #3185 )
2017-11-07 22:18:56 +11:00
Lucas Azzola
84adbff232
Upgrade docusaurus to beta.10 ( #3166 )
...
* Upgrade docusaurus to beta.10
* Fixes for highlightjs
* Load github buttons script
2017-11-07 20:47:21 +11:00
Haroen Viaene
e62eced020
docs(users): add Algolia ( #3171 )
...
* docs(users): add Algolia
* docs(users): add Algolia image
2017-11-07 19:39:13 +11:00
Lucas Azzola
b4e7942bc0
Add markdown parser to playground ( #3165 )
2017-11-07 17:11:31 +11:00
Lucas Azzola
d5666f2b92
1.8.0
2017-11-07 14:58:44 +11:00
Lucas Azzola
71a5533c4e
Move all docs to website ( #3139 )
...
* Sync README -> docs/options.md
* Sync README -> docs/*.md
* Misc fixups
* Remove markdown-toc
* Remove insert-pragma from ToC
* Never again!
* Move all docs to ./docs
* Remove yarn toc
* Fix inter-doc links
* Fix links in footer
* Clean up README.md
* Add basic description to README.md
* Use flat badges
* Move editor guides to website
* Improve prettier-ignore docs
* Fixup bad find/replace
* Add JSON to README
* Fix custom parser API link
* Fixup GitHub centering, add downloads badge
* Add 1.8 docs
* docs(website): mention markdown on homepage (#1 )
* Add intro
* Add watching-files.md
* Fix markdown syntax highlighting
* Switch back to .md links
2017-11-07 14:39:07 +11:00
Mitermayer Reis
693d1fe01b
Making sure we only try to parse options after resources has been loaded ( #3085 )
...
- Making sure we only attempt to do config parsing after window.onload
since lz-string dependency needs to be available to the browser
- Setting up some sane default options in case something goes wrong
2017-10-22 18:13:11 -06:00
Mitermayer Reis
2169357c17
Making sure playground can have shorter urls ( #3063 )
...
* Making sure playground can haver shorter urls
* Fixing linting
* Including lz-string on the service worker
2017-10-22 20:10:15 +11:00
Luiz Fernando Rodrigues
3c5dae3702
Update Sublime Text and VSCode logos ( #3041 )
2017-10-15 10:31:30 -05:00
Lucas Azzola
212e5f4a20
Fix website getStream regression ( #2967 )
2017-10-04 00:03:52 +11:00
Lucas Azzola
2e655a3755
1.7.4
2017-10-03 19:46:42 +10:00
Lucas Azzola
ecf0281b31
1.7.3
2017-09-30 20:48:10 +10:00
Stephen Scott
75781a6d16
1.7.2
2017-09-27 17:20:13 -06:00
Simon Lydell
0313ce6299
Fix the playground for 1.7.1
2017-09-27 20:38:16 +02:00
Stephen Scott
c2bc33b3ad
1.7.1
2017-09-27 11:00:29 -06:00
Jake Gavin
6179d92518
Fix editor styles for blank playgrounds ( #2904 )
2017-09-27 08:06:48 +02:00
Simon Lydell
c6bac7cfe6
Split Less and SCSS parsing into different parsers ( #2844 )
...
* Split Less and SCSS parsing into different parsers
Now, .less files are always parsed with postcss-less, and .scss files
areare always parsed with postcss-scss. This:
- Is less hacky.
- Is meant to avoid issues like #2829 .
- Is probably more performant.
`parser: "postcss"` and `--parser postcss` continue to work like before:
First trying postcss-less, and if that fails, postcss-scss, unless a
regex says that we should try in the opposite order. The new values for
the parser option are "postcss-less" and "postcss-scss".
* Remove postcss from package.json since it is not used
* Rename parser-less to less and parser-scss to scss
* Deprecate parser:postcss in favor of parser:css
* Fix CSS tests
2017-09-26 07:08:11 +02:00
Mitermayer Reis
798bdb0e6a
We do not need to have a reference to the toolbox-companion since we ( #2892 )
...
have our own implementation of it under install-service-worker.js
2017-09-25 20:46:40 +02:00
Simon Lydell
ed67690925
Fix playground for the next release
2017-09-16 15:35:32 +02:00
Simon Lydell
219acfe0f8
Fix playground error
2017-09-14 19:52:37 +02:00
Stephen Scott
bcb4224205
1.7.0
...
🎉
2017-09-14 11:21:33 -06:00
Simon Lydell
2756ab9a75
Add syntax highlighting for issue template options
2017-09-14 08:51:37 +02:00
Simon Lydell
1469ef9cea
Use the jsx CodeMirror mode instead of javascript
...
Unfortunately, the "neat" theme we were using for CodeMirror does not
appear to support JSX, so I removed it and went back to the default
theme.
2017-09-14 08:49:20 +02:00
Simon Lydell
40cf41b15e
Try to improve the playground default example
2017-09-14 00:48:22 +02:00
Simon Lydell
1375e6880a
Generate ISSUE_TEMPLATE.md on build
2017-09-14 00:14:35 +02:00
Simon Lydell
ecaeec5b59
Add feature to test idempotency in playground
2017-09-13 23:40:51 +02:00
Simon Lydell
5b576f4e78
Add more buttons to the playground
2017-09-13 23:07:19 +02:00
Simon Lydell
8ba2acadbb
Make sure that shown playground Prettier version always is in sync
2017-09-12 22:17:06 +02:00
Simon Lydell
951aed47f6
Print playground AST with Prettier to make it easier to read
2017-09-12 22:17:06 +02:00
Simon Lydell
482a1d8311
Improve doc and ast editor appearance
2017-09-12 22:17:06 +02:00
Simon Lydell
c08b70a0da
Update playground service worker script caching
2017-09-12 08:03:10 +02:00
Simon Lydell
cdb7c0d4e3
Set playground Codemirror mode based on parser
2017-09-11 19:55:15 +02:00
Simon Lydell
1827d65d93
Add a "Copy as markdown" button to the playground
2017-09-11 19:27:56 +02:00
Daniel Spitzer
2fd77e7718
Add Tradeshift as a user ( #2719 )
2017-09-01 09:03:17 +10:00
Kevin van Zonneveld
b18db09a54
Add Transloadit as a user ( #2706 )
2017-08-30 22:35:27 +10:00
Christopher Chedeau
c3506198c0
1.6.1
...
Small regression fixes
2017-08-29 09:00:14 -07:00
Christopher Chedeau
571d92c5f7
1.6.0
...
https://github.com/prettier/prettier/releases/tag/1.6.0
2017-08-28 09:04:42 -07:00
Lucas Azzola
8a45377760
Load babylon parser for json formatting ( #2620 )
2017-08-15 21:54:10 +10:00
Frank Li
dace9ecded
Update website setup to use latest version of Docusaurus ( #2614 )
...
* Update website to new docusaurus API
* Fix missing comma
* Fix link typo in users.json
* Update docusaurus to version 1.0.0-alpha.35
* Clean up siteConfig.js
2017-08-11 12:34:32 -07:00
Joseph Frazier
a78d1389f6
Use babylon.parseExpression for JSON ( #2476 )
...
* Add comments showing parser arguments
Since this is how they are invoked, the comments make it easier to maintain.
* Use babylon.parseExpression for JSON
See https://github.com/prettier/prettier/issues/2378#issuecomment-314600778
Note that this doesn't yet print comments:
echo '{/*comment*/"K":"V"}' | ./bin/prettier.js --parser json
* Remove parser-json.js
This reduces duplicate code in the built package.
See https://github.com/prettier/prettier/pull/2476#pullrequestreview-50181398
* Add test with block comment in JSON
* Fix test with block comment in JSON
* Add test with line comment in JSON
* Don't build now-redundant parser-json.js
2017-07-24 11:43:49 +10:00
Lucas Azzola
acab856b96
Integrate 1.5.3 hotfix ( #2489 )
2017-07-15 20:16:41 +10:00
Blaine Kasten
438d5f0fe3
Add Hudl as a Prettier User ( #2454 )
...
* Add Hudl as a Prettier User
* Add Hudl logo
2017-07-12 00:16:01 +10:00
Simen Bekkhus
1b4846b67d
Format prettier with newer prettier ( #2431 )
2017-07-08 14:07:39 +02:00
Kent C. Dodds
7c4a8d07a0
Add PayPal to prettier users ( #2403 )
...
* add PayPal as a prettier user
* add paypal logo
2017-07-06 08:46:38 +10:00
Joseph Frazier
9290dd8803
Add some standardjs-esque eslint rules ( #2401 )
...
I experimented with simplifying the eslint config to just use eslint-config-standard and eslint-config-prettier. There were too many errors to make it a quick change, but I did find a few useful rules we could adopt instead.
---
* lint: Remove useless return statements
http://eslint.org/docs/rules/no-useless-return
* lint: Split declarations into multiple statements
http://eslint.org/docs/rules/one-var
* lint: Remove unneeded ternary operators
http://eslint.org/docs/rules/no-unneeded-ternary
* lint: Require symbol descriptions
http://eslint.org/docs/rules/symbol-description
* lint: Disallow declarations in nested blocks
http://eslint.org/docs/rules/no-inner-declarations
* lint: Disallow yoda conditions
http://eslint.org/docs/rules/yoda
* Revert "lint: Disallow yoda conditions"
See discussion at https://github.com/prettier/prettier/pull/2401#discussion_r125750068
This reverts commit f3b568d5bd48a742460cb0f805d1be38d8f61a40.
2017-07-05 16:54:46 -04:00
Lucas Azzola
bf2bcbcb1a
Create CNAME
2017-07-04 09:19:39 +10:00
Lucas Azzola
65bbbaec58
Add content to website ( #2377 )
...
* Add content to website
* Fix linting error
* Cleanup, extract content to JSON files
2017-07-03 12:48:05 +02:00