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
Ika
a627ca7b5d
docs: minor tweaks ( #3627 )
...
* docs(blog): replace `:emoji:` with `${emoji}`
* docs(blog): move images to assets
* docs(index): move images to assets
* docs(index): fix typo
2018-01-03 00:04:22 +08:00
Christopher Chedeau
dcf04187db
Tweak CSS of the blog section ( #3625 )
...
* Tweak CSS of the blog section
* light codeblocks
![image](https://user-images.githubusercontent.com/197597/34471012-52212fba-eef2-11e7-8f75-404a3693c87d.png )
2018-01-01 17:08:47 -08:00
Lucas Duailibe
0f548ebe47
Merge branch 'master' into new-playground
2017-12-31 09:41:18 -03:00
Lucas Azzola
800a1cf9d4
Add Blog, Populate with Release Notes ( #3604 )
...
* Add blog
* Rename files, add extra #
* Improve formatting
* Convert pull-request links
* Fix typo
* Update links in CHANGELOG.md, lint docs
* Add missing parens
* Remove banner images
* Add 1.0 release blog post
* Fix encoding bug
* Add truncate to 1.0 blog post
* TS syntax highlighting looks better than JS highlighting on Flow
* Add introductory sentences to older posts
* More highlighting fixes
* Fix mistake
* Fix more highlighting errors
* More highlighting fixes
* Add CSS fix
* fix truncate on 1.9.0 post
* fix truncate on 1.0.0 post
* Fix additional # and my name in 1.0.0
* Restore js -> ts on codeblocks
2017-12-31 15:23:17 +11:00
Ika
8a86c0cc9f
fix(playground): fix report version ( #3614 )
2017-12-31 12:12:56 +11:00
Ika
0af436cd47
fix(playground): use `prVersion` ( #3613 )
2017-12-31 00:54:36 +11:00
Lucas Duailibe
624b876b35
update style
2017-12-29 20:08:59 -03:00
Lucas Duailibe
c34db47c0c
fix prettier loading
2017-12-29 14:17:26 -03:00
Robert Webb
833666a394
Support handlebars ( #3534 )
...
* feat(glimmer): initial HTML/Handlebars/Glimmer support
* feat(glimmer): support un-escaped mustache expressions
* fix(glimmer): add 'as |foo|' syntax
* fix(glimmer): support {{foo bar}} syntax
* feat(glimmer): implement all AST types
* feat(glimmer): implement if/else if/else
* test(glimmer): ignore leading/trailing whitespace from AST_COMPARE
* fix(glimmer): do not use trailing slash for void self-closing elements
* chore(build): disable html tests until we can sort out the glimmer dependency
* feat(html): complete rebase on parse5 addition
* Prettier Support For Glimmer VM/Handlebars
Polished Support for Sub Expressions
Added test cases for glimmer primitives
Added support for concat statements
Attempted to make element nodes work
Attempted block statements
Element Nodes are OK
Added support for block elements that are not else-if related
Added support for Else/If
Cleaning up
Rebase
Switch node 4 syntax
Update build
* Removed dead code/partials
* Added new lines to end of test files.
* Rebase after plugin change
* Added ignores to code coverage
2017-12-29 18:14:31 +01:00
Lucas Duailibe
8811e45002
Merge branch 'master' into new-playground
2017-12-29 13:20:48 -03:00
Lipis
6a75f66731
Add Google Analytics on Playground ( #3576 )
2017-12-29 09:59:49 -05:00
Lucas Azzola
b0647cb2c9
Fix PR Preview Playground ( #3592 )
...
* Fix PR Preview Playground
* Use module.exports for Prettier export
* Keep index for backwards compatibility
2017-12-28 22:37:47 +11:00
artiebits
15a68394dd
Move playground styles to the single CSS file ( #3588 )
...
* Move playground styles to the single css file
* Add separateCss property to siteConfig.js
2017-12-27 17:32:37 -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
Lucas Duailibe
225bfa7d97
playground wip
2017-12-26 00:22:17 -03:00
Lucas Azzola
4c9d4061da
Prettier Plugin API ( #3536 )
...
* Move files around in preparation for refactor
* Update paths in build script
* Extract generic printing logic from the JavaScript printer
* Conform printer API
* Fixup decorator handling
* Fix multiparser
* Create plugin entry for markdown
* Create plugin entry for javascript/typescript
* Create plugin entry for html
* Create plugin entry for graphql
* Create plugin entry for css/less/scss
* Move JSON to JS plugin entry
* Integrate plugins into getSupportInfo()
* Move astFormat to parser definition
* Move util to common
* Implement parser loading
* remark -> mdast
* Rename cli/cli -> cli/index
* Rename builder -> doc package, fix printer resolution
* Fix doc shape assumption in CSS-in-JS logic
* Fix third-party.js prod resolution
* Fixup build-docs script
* Distribute multiparser code
* Remove requirement to forward options
* Flatten closure
* Remove debug directory
* Expose doc
* Add external plugins
* Pass options to loadPlugins
* Export getParsers
* Pin resolve version
* Use getSupportInfo in Markdown embed
* Document plugin API
* Update build-docs
* Add CLI for plugins
* Lint docs
* Fixup build.js
* Add vue language
* Fixup multiparser for vue
* Upgrade rollup and rollup-plugin-commonjs
* Fixup third-party build
* Change AST format in docs
2017-12-26 12:23:50 +11:00
Christopher Chedeau
c40b061b80
[vue] Introduce proper support for Vue Single File Components (SFC) ( #3563 )
...
There's a lot of demand for vue sfc (#2097 ). This introduces partial support for them: all the html is printed as is, except for the script and style tags which are printed using prettier. I believe that this should cover a lot of the use cases while being simple to support and if we want we can extend to more in the future.
I copy pasted the html parser used by vue (it's just a single 400 lines file) so that we don't run the chancesof conflicts. I'm also very conservative: I only print the style and script at the top level and for the lang attributes we support.
I expect this to be landable as is and provide value, review welcome :)
2017-12-25 01:15:33 +01: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
Lipis
3dfa2c07b2
Add Google Analytics tracking ID ( #3506 )
2017-12-24 15:42:36 +01:00
Jerome Leclanche
591a9cb6d0
Add HearthSim to users.yml ( #3554 )
2017-12-22 12:56:38 +11:00
Lipis
8b8268096f
Refactor images for Users, Editors and Languages ( #3479 )
2017-12-19 10:42:16 -02:00
Lucas Azzola
d1c97b3622
Convert eslint config and users/languages/editors files to YAML ( #3516 )
...
* YAML all the things
* Cleanup website data files
* Update edit links
2017-12-18 21:55:10 +11:00
Adam
56948a953e
Add Troops to Users ( #3505 )
2017-12-18 09:48:30 +08:00
Praveen Durairaj
f1680c3f22
Add hasura to list of users ( #3504 )
2017-12-16 15:56:54 +11:00
Matt Mulder
b778df4fc2
Add Yelp to list of users ( #3502 )
2017-12-15 19:09:15 -02:00
Tom Bonnike
23ffddf94a
Added N26 to the list of users ( #3499 )
2017-12-16 00:02:35 +08:00
Anton Vasin
67a51c1da6
Update mathrioshka url to https ( #3498 )
2017-12-15 22:46:22 +11:00
Kushagra Gour
57e821a28c
add wingify to user list ( #3497 )
2017-12-15 03:12:22 -02:00
Anton Vasin
7f55cc5872
Add Mathrioshka to users ( #3495 )
2017-12-15 09:11:57 +08:00
Martin Irigaray
f38c51269a
IDEATI uses prettier ( #3490 )
2017-12-14 15:26:10 -02:00
Hemratna Bhimani
9157968159
Adding 7span.com to user.json ( #3486 )
...
At 7Span we user Prettier in our day to day workflow.
2017-12-14 20:51:40 +11:00
Hemratna Bhimani
f8f18487d2
Adding 7Span logo. ( #3487 )
2017-12-14 20:51:12 +11:00
Christian Rackerseder
7b6f3eaeea
Added HolidayCheck to website ☀️ ( #3488 )
2017-12-14 20:43:51 +11:00
Charles Pick
d691c8d395
Add codemix to users ( #3482 )
2017-12-14 17:47:44 +11:00
James Henry
8f9798e792
Website: Add Nrwl to users ( #3483 )
...
* Update users.json
* Add nrwl logo
2017-12-14 10:47:25 +11:00
Emmanuel Vuigner
2816c45771
Add ZIP.ch to users.json ( #3480 )
2017-12-13 15:01:41 -02:00
Sorin Iclanzan
9d8429d420
Add Webflow to users ( #3477 )
2017-12-13 15:00:56 -02:00
Viktor Hubert
6cfa092979
Added Eventstag to users.json ( #3478 )
2017-12-13 12:51:34 -02:00
Fernando Montoya
00bc23ba5a
Add Eye Square to users ( #3476 )
2017-12-13 12:19:28 -02:00
Daniel Schmidt
01aa9cedf6
Add Charlie Tango to users.json ( #3473 )
2017-12-13 12:01:05 -02:00
Greg Bergé
dfc61d940d
Add Smooth Code to users ( #3474 )
2017-12-13 11:22:29 -02:00
Lipis
20373d6fee
Prettify style in playground and code block languages ( #3419 )
2017-12-05 19:48:11 -07:00
Lucas Duailibe
2663fd8c6d
Fix flow parser + fix CHANGELOG lint
2017-12-05 22:13:38 -02:00
Lipis
23b8224240
Change cursor and remove outline in summaries on playground ( #3415 )
2017-12-05 21:21:02 -02:00
Lucas Duailibe
36a11b86bc
Fix multiparser on playground ( #3407 )
...
* Fix multiparser in playground
* Remove unnecessary function call
2017-12-06 09:14:02 +11:00
Lucas Duailibe
40af2e0514
Show a right border on sidebar
2017-12-05 18:29:49 -02:00
Lucas Duailibe
8bb6e169e2
Change playground options layout ( #3374 )
2017-12-05 17:54:07 -02:00
Ika
f3e7ca2210
chore(playground): add new options ( #3350 )
2017-12-05 21:22:10 +11:00
Lucas Azzola
c7c1d2e7a4
Upgrade Prettier to Prettier 1.9 ( #3395 )
...
* Upgrade to prettier@1.9.0
* Run eslint --fix
* Run prettylint --fix
* Fix playground with editorconfig script
2017-12-05 08:14:03 -02:00
Chris Burgin
38b490b092
Fixed website footer on mobile ( #3335 ) ( #3373 )
2017-12-04 12:27:14 +11:00
Lipis
2032b70918
Add Twitter social button ( #3288 )
...
* Twitter Badges
* Update README.md
* Update README.md
* Update Footer.js
* Update README.md
* Update Footer.js
2017-11-29 09:50:02 -07:00
Lucas Duailibe
f514d1e93f
Docs build script ( #3332 )
...
* Remove artifacts from repo
* Remove docs stuff from build script
* Add new docs build script
* Add 'third-party' shim in playground worker
* Build from src if it's a PR
* Add command to package.json and remove old stuff from travis
2017-11-28 09:27:25 +11:00
Ika
1c9ee6c5a7
chore(website): ignore `<!-- prettier-ignore -->` before passing into Docusaurus ( #3326 )
...
prettier-ignore -->` before passing into Docusaurus
2017-11-27 19:32:20 +11:00
Lucas Azzola
b941e30cad
Add mprettier to website editor integration list ( #3316 )
...
* Add mprettier
https://github.com/t9md/atom-mprettier
* Update editors.json
2017-11-25 13:55:39 +11:00
Lucas Duailibe
c0fa47d2d2
Fix infinite recursion in playground ( #3305 )
2017-11-22 11:23:28 -02:00
Ika
76efb33e75
chore: setup markdown formatting ( #3224 )
...
* chore(deps): upgrade prettier to v1.8.2
* chore: setup lint-docs script
* docs: add `<!-- prettier-ignore -->`s
* docs: format docs
* Revert "docs: format docs"
This reverts commit 6dba903987dddc498cb589ca311905f25b6aee53.
* chore(prettierrc): set `--no-prose-wrap`
* docs: format docs
* Revert "docs: format docs"
This reverts commit 139bd744b6921916be8fac4fa3bab83bae5d12df.
* docs: tweak
* docs: format docs
* chore: rename .prettierrc
* chore: rename back to .prettierrc
* chore: split out third-party
* refactor: fix linting
* chore: do not split out third-party on website
2017-11-22 22:27:40 +11:00
Lipis
258de9dac8
Rename LESS -> Less ( #3279 )
2017-11-16 23:09:05 +08:00
Dmitriy Nevzorov
b959801d6a
Add 2 more users ( #3259 )
...
* Update users.json
Please add 2 our [microapps](http://microapps.com ) projects to the users as we're big fun of prettier and use it everywhere now
* add properly formatted images
2017-11-16 18:21:05 +08:00
Pavel Pustovalov
2332c5c8bf
Add Talkable to users ( #3267 )
2017-11-14 19:43:15 +08:00
Diego Rodrigues Vieira
b6a2436bd1
Update VSCode icon ( #3266 )
2017-11-14 19:29:56 +08:00
Ika
b6b601815c
docs(webstorm): improve image urls ( #3261 )
2017-11-14 18:37:15 +11:00
Mark Yu
9f7b4df23f
Fix broken Webstorm image links. ( #3260 )
2017-11-14 10:47:04 +08:00
Ika
5820ec1e11
chore(website): fix logo filename ( #3258 )
2017-11-13 21:50:27 +08:00
Lipis
1464261edf
Add Wire to users.json ( #3257 )
2017-11-13 11:45:26 -02:00
Ika
ed0f91f7be
feat(playground): add options ( #3222 )
...
* chore(playground): add options
* chore(playground): re-reorder options
2017-11-09 22:30:38 +11:00
Lucas Azzola
fba2e6c92d
1.8.2
2017-11-09 21:28:38 +11:00
Ika
adabed2c3f
chore(playground): add ruler for inputEditor ( #3221 )
2017-11-09 21:08:50 +11:00
Ika
ec15405e56
docs(editors): sort alphabetically ( #3219 )
2017-11-09 21:07:50 +11:00
Austen Blokker
75032c3809
Add editor integration for Espresso to integrations list on website ( #3215 )
...
* Add editor integration for Espresso
* Add Espresso icon
2017-11-09 13:30:09 +08:00
Mitermayer Reis
813d9b93eb
Fix typos ( #3212 )
...
* Adding --stdin-filepath option in order to enable filetype inference from
stdin
* Fixing typo on the documentation
* Fixing typos - fixing some typos
* Restoring static lib files back since they are artifacts
2017-11-09 11:44:24 +11:00
Olivier Tassinari
a3ddcb65d2
docs(users): add Material-UI ( #3198 )
2017-11-08 07:30:14 +08:00
Lucas Duailibe
e1b3a830c3
Center "Are you using this project?" in users page ( #3193 )
2017-11-07 15:24:58 -02: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
de0fec9344
Setup Algolia DocSearch ( #3184 )
2017-11-07 22:03:55 +11:00
Lipis
7b9949c00d
fix: Dead link for the External Tool for WebStorm ( #3179 )
...
* fix: Dead link for the External Tool for WebStorm
* Point to the website
2017-11-07 20:49:38 +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
Josh Junon
f5248d4c33
Zeit -> ZEIT in users.json ( #3156 )
2017-11-07 00:08:00 +08: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
Simon Lydell
9d448fb217
Try to fix website deploy
2017-09-29 10:50:58 +02: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
Simon Lydell
2ef7173f13
Fix playground button color
2017-09-14 19:40:38 +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
5d0ed5c671
Remove 1px page scrollbar in playground
2017-09-14 01:03:38 +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
323941bfd8
Clean up playground CSS and design
...
- Move the version to the header. Saves some vertical space.
- Use system font.
- Simplify CSS.
- Better header alignment.
2017-09-13 21:01:11 +02:00
Simon Lydell
cf9d52e9f3
Hide ast and doc editors while loading the playground
2017-09-13 16:47:21 +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
d6eeaae29b
Fix some playground HTML errors and warnings
2017-09-11 19:59:03 +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
Lucas Azzola
2686b15b91
Update URL to prettier-vscode
2017-08-30 22:53:53 +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
Joseph Frazier
82ad911ddc
Upgrade prettier dependency to v1.6.0, fix lint ( #2681 )
2017-08-28 12:22:51 -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
ffbdff4bc2
prettier
2017-07-20 14:26:55 +10:00
Lucas Azzola
8d9022db54
Fix /users/ link
2017-07-20 13:26:54 +10:00
Mitermayer Reis
38fdb6f851
Update vim-prettier location ( #2518 )
2017-07-20 11:06:54 +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
Joseph Frazier
ead0bc0a9c
Use eslint-plugin-import to detect devDependencies used in production ( #2387 )
...
This solves the same problem as https://github.com/prettier/prettier/pull/2386 ,
but at lint-time, rather than only on Travis.
2017-07-04 17:53:45 +02:00
Lucas Azzola
bf2bcbcb1a
Create CNAME
2017-07-04 09:19:39 +10:00
Dara Hak
185fc608d3
Fix typo on website's tag line
2017-07-03 22:55:10 +02: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
Lucas Azzola
ed4943dbec
Set CI_PULL_REQUEST
2017-07-02 10:45:57 +10:00
Lucas Azzola
d741a47e8f
Set env variables to mock CircleCI [skip ci] ( #2376 )
2017-07-02 10:42:25 +10:00
Frank Li
80f38ce75b
Website ( #2241 )
...
* initial docusaurus set-up
* Delete why-prettier.md
* Update README.md
* Update Docusaurus structure
* Update package.json
* Update siteConfig.js
* Remove ~ files
* chore(website): update build script
* Add redirect script
* Get eslint working on website
* Fix to allow for baseUrl of '/'
* Update docusaurus version
* Update README.md
* Change redirect script to use baseUrl of '/'
* Fix index.js formatting
* Load redirect script
* General cleanup
* Add projects using prettier
* Update service worker to just scope to playground
* Reduce link repeatition
* Link "Try it out" button to /playground/
* Make header of playground approximately same as main site
* Remove .html from URLs (e.g. users.html -> users/)
* Link Gitter Chat
* Add circleci.yml
* Only run builds on master
* Do deployment using Travis
2017-07-02 10:14:24 +10:00
Christopher Chedeau
e69d0fe5fb
Create why-prettier.md
2017-06-12 21:00:04 -07:00
Christopher Chedeau
0877612e68
Create README.md
2017-06-12 20:00:42 -07:00