Commit Graph

2219 Commits (1b09fde361a0694cf34d485c046bed885e75141d)

Author SHA1 Message Date
Lipis 23f032f348 Fix @orta's link (#4060) 2018-02-27 06:15:45 -05: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
Evilebot Tnawi 4ddf1a6e84 fix: don't lowercase nesting selector (#4048) 2018-02-26 18:13:02 -07:00
Eric Anderson efd5bde713 Fix(typescript) non-null identifier same line in chain (#4052) 2018-02-26 15:12:03 -03:00
Evilebot Tnawi 65b988a989
feat: ignore non standard IE filter values (#4028) 2018-02-26 14:58:38 +03:00
Ika b6c27893cc
fix(markdown): list prefix alignment: count spaces from correct place (#4041)
* test: add tests

* fix(markdown): list prefix alignment: count spaces from correct place

* docs: codeblock -> code block
2018-02-26 08:53:09 +08:00
Ika ca81bef73e
fix(markdown): list prefix: no unnecessary trailing spaces (#4042)
* fix(markdown): list prefix: no unnecessary trailing spaces

* refactor
2018-02-26 08:52:49 +08:00
Lucas Azzola 79196030a7
Webpack -> webpack 2018-02-25 22:06:03 +00:00
Lucas Azzola 9ee113cd2e
webpack/webpack now uses Prettier (#4039) 2018-02-25 16:12:36 +11:00
Ika c1107a86dd feat(markdown): respect tabWidth for list items (#3990)
* feat(markdown): respect tabWidth for list items

* test: ensure no regression for #3459
2018-02-24 19:13:02 +11:00
Milen Igrachev 29ef3f0033 Enhancing pre-commit bash script documentation. (#3638)
* Enhancing pre-commit bash script documentation.

* Correcting typo.

* attempt to correct lint problem

* Grammar clarification.

* Further styling correction

Mark .git/hooks/post-commit as ```code```

* Remove redundant exit 0 from post-install script.

* Insert newline
2018-02-24 19:12:25 +11:00
Joseph Frazier 5153b15245 Respect EditorConfig when `--config` is passed (#3992)
* Respect EditorConfig when `--config` is passed

* Clarify config-resolution test file

See https://github.com/prettier/prettier/pull/3255#issuecomment-348420546

* Update test snapshots
2018-02-24 19:11:23 +11:00
Lucas Azzola a0668129da
Do not require plugins to set 'since' field (#4038)
* Do not require plugins to set 'since' field

* Refactor
2018-02-24 19:00:51 +11:00
Lucas Azzola 010933375c
Mention webstorm built-in support on homepage (#4037) 2018-02-24 17:08:30 +11:00
Suchipi Izumi 89ac80c842 Bump version to 1.11.0-rc.1 2018-02-23 17:01:19 -07:00
Zhongliang Wang d18da53e87 feat(typescript): Support conditional types (#4007)
* feat(typescript): support for conditonal types

* refactor(js): reuse conditional expression logic

* chore(typescript): update snapshot for typescript conditional type test suite

* chore(js): make code support Node 4

* chore(js): rename utility functions

* chore(js): add comments for formatTernaryOperator

* fix(ts): support infer keyword

* chore(js): new line

* chore(js): improve readablity a little bit
2018-02-23 12:34:23 -07:00
Lipis 0b4d731fe5 Upgrade SVGO and more settings (#4018)
* Upgrade SVGO and more settings

* Update
2018-02-22 12:24:04 -05:00
Steffen Weber 9643d33702 Add ComputerBase to list of users (#4027) 2018-02-22 14:17:35 +02:00
Evilebot Tnawi 7b457fd3b8
refactor: at rules parse (#4023) 2018-02-22 12:49:03 +03:00
Evilebot Tnawi 335fe638f5
refactor(css): printer (#4024) 2018-02-22 12:00:08 +03:00
Tushar Mathur 92023e83ec Webstorm now supports Prettier (#4026)
* Update webstorm.md

* Update webstorm.md

* Tweak the wording

* style(docs): fix linting
2018-02-21 23:47:14 -07:00
Lucas Azzola b7f0794ad5
Handle definite variable declarations (#4025)
* Handle definite variable declarations

* printDefinite -> isDefinite
2018-02-22 13:03:35 +11:00
Evilebot Tnawi e1491d0f95
fix(css): comments in at rules (#3920) 2018-02-21 21:36:09 +03:00
Ika 8f6a32853c
feat(typescript): support definite assignment (`!:`) (#4020) 2018-02-22 01:40:57 +08:00
Mark Larah d298c51cba Add support for markdown with pre-commit (#4021)
Prettier now runs on markdown files! Let's let pre-commit run on those files!
2018-02-21 12:10:25 -05:00
Lucas Duailibe 2c36fb9109 Remove extraneous newline in docs/plugins.md 2018-02-21 13:34:24 -03:00
Lucas Duailibe 974b27dac2
Break JSX element if a string literal prop has a newline (#4011) 2018-02-21 10:52:30 -03:00
Lipis f60bae61b8
Add license to website/package.json (#4017) 2018-02-21 15:39:58 +02:00
Lipis 927570e67a
Add Ruby to homepage and code (#4016) 2018-02-21 15:36:59 +02:00
Lipis a8110923ea
Add Google Site Verification file (#4015) 2018-02-21 15:18:54 +02:00
Eric Anderson 051a488bbd fix(typescript): properly chain when there is a TSNonNullExpression (#4005)
* fix(typescript): properly chain when there is a TSNonNullExpression

* No need to pass args

* PR feedback

* Fix lint
2018-02-20 12:37:11 -03:00
Lipis c7c89b9edd Add more plugins to the plugins section (#3887)
* Add more plugins to the plugins section

* npm name

* Confused

* Community
2018-02-21 00:30:36 +11:00
Skubie Doo 4347f481bb Add JSON example (#3995)
* Add JSON example

Not sure if this is a good or useful example case.

* Add license link

* Add link to source example

* Remove extra license link

As requested, only one link is necessary
2018-02-20 00:07:19 +08:00
Lipis f0ce1556b5 More than 70k 2018-02-19 12:22:38 +01:00
Johnny L 1b61b819d7 Fix links in footer (#3981) 2018-02-19 09:59:43 +08:00
Lucas Azzola 417c50aa84
Keep parens around Unary and Update Expressions (#3989) 2018-02-18 00:22:35 +11:00
Brian Ng a8fe401b26 Fix cases with missing semi when printing DeclareExportDeclaration (#3979) 2018-02-17 17:40:43 +11:00
Evilebot Tnawi 86f0b93e29
feat(css): improve math output (#3984) 2018-02-16 21:58:21 +03:00
Evilebot Tnawi 0ee9959bd6
tests(css): trailing comma (#3843) 2018-02-16 17:56:11 +03:00
Evilebot Tnawi 0f067d3832
feat(css): improve `@nest` at rule output (#3976) 2018-02-15 20:45:33 +03:00
Evilebot Tnawi cce8924ef3
fix(css): `@nest` at rule (#3975) 2018-02-15 15:19:28 +03: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
Jack Morgan 160d0e63aa Adding Leesa to users.yml (#3955) 2018-02-13 16:36:08 -05:00
Ika 4a4bd2faed
fix(typescript): support `unique symbol` (#3967)
* test(typescript): add failing test

* chore(deps): update typescript-eslint-parser to v13.0.0

* fix(typescript): support `unique symbol`
2018-02-14 01:03:53 +08:00
sharils 791e5cd0ae Clarify that both packages are still needed (#3966)
* Clarify that both packages are still needed

* Update eslint.md
2018-02-13 17:45:06 +01:00
Evilebot Tnawi 17c0f9bfe1
feat(css): lowercase html tags (#3954) 2018-02-13 18:41:55 +03:00