Commit Graph
22 Commits
Author SHA1 Message Date
suchipi 7e1906d7c7 Update ISSUE_TEMPLATE.md (#4214)
* Update ISSUE_TEMPLATE.md

* Update ISSUE_TEMPLATE.md

* Wording

* Combine comment
2018-03-28 19:46:11 -06:00
suchipi 6d4ffa181f Update CHANGELOG.md 2018-02-28 15:51:26 -07:00
Stephen Scott 6f6d974d27 Bump own prettier dependency version to 1.11.1 2018-02-28 15:26:27 -07:00
Stephen Scott 0f1757a834 Bump version to 1.11.1 2018-02-28 15:21:37 -07:00
suchipi 74a132c4ba Bump own prettier dependency version to 1.11.0 (#4058) 2018-02-26 22:03:56 -07:00
Stephen Scott 51202f4b6e Format 2-26 blog post with prettier 2018-02-26 18:47:55 -07:00
Stephen Scott 82492deb94 Bump version to 1.11.0 2018-02-26 18:28:33 -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
Suchipi Izumi 89ac80c842 Bump version to 1.11.0-rc.1 2018-02-23 17:01:19 -07:00
Suchipi Izumi 41a9ababc3 Add updated snapshot
Whoops, forgot this
2017-11-27 22:27:34 -07:00
Suchipi Izumi 6abdd2c6b7 PR feedback 2017-11-27 22:27:34 -07:00
Stephen Scott a6c12ca7a9 Inline type parameters in test callback 2017-11-27 22:27:34 -07:00
Stephen Scott e4eb8a4065 Add implementation for arrow parens option
Based on https://github.com/prettier/prettier/pull/2676

* Thread `path` and `options` through helpers so we don't need to add `needsParens` onto the AST node anymore (mutation)
* Pull test call detection logic out into helper method so it can be re-used for arrow function parens
* Add arrow function parens option implementation (avoid/always)
* Don't break arrow function parens around (done) in test call
2017-11-27 22:27:34 -07:00
Stephen Scott 9a1e408a3f Add option and specs (no implementation yet)
These new snapshots are from https://github.com/prettier/prettier/pull/2676
2017-11-27 22:26:58 -07:00
Stephen Scott 11624eec20 Merge pull request #3055 from azz/$schema
Delete $schema from resolved config
2017-10-18 15:08:36 -06:00
Stephen Scott 75781a6d16 1.7.2 2017-09-27 17:20:13 -06:00
Stephen Scott c2bc33b3ad 1.7.1 2017-09-27 11:00:29 -06:00
Stephen Scott e1c2085d2e Merge pull request #2888 from motiz88/fix-2593
Use semicolons in Flow interface-like bodies (#2593)
2017-09-25 22:31:24 -07:00
Stephen Scott bcb4224205 1.7.0
🎉
2017-09-14 11:21:33 -06:00
Stephen Scott 655fef1bf9 Merge pull request #2767 from ikatyang/refactor/cli
refactor(cli): centralize options
2017-09-14 11:12:19 -06:00
Stephen Scott 3ed2bae1b4 Improve JSX ternary formatting
* Now JSX-mode ternaries only break if they need to. 
* Only the outermost ternary in a chain of JSX-mode ternaries will become a group.
* We don't wrap null in parens when breaking JSX-mode ternaries.

This commit also improves the test coverage and explanation in tests/jsx/conditional-expression.js.
2017-07-13 10:21:58 -06:00
Stephen Scott 757037948a Improve JSX Formatting
* Arrow Function Expressions returning JSX will now add parens when the JSX breaks
* Conditional expressions within (or containing) JSX are formatted in a more natural way (for JSX), especiall when chained
* JSX in logical expressions (|| or &&) is always wrapped in parens

Fixes #2208
2017-07-13 10:20:42 -06:00