Commit Graph

3104 Commits (2523a017aad479b006593e9b380e4e27a7caea3d)

Author SHA1 Message Date
Ika 153d2d0570
fix(typescript): stable parens for function type in arrow return type (#5790) 2019-01-22 21:07:10 +08:00
Ika 1061be0702
fix(mdx): correctly recognize inline JSX (#5783) 2019-01-22 12:02:30 +08:00
Ika 2002ce0453
fix(javascript): add necessary parentheses for decorators (#5785) 2019-01-22 00:54:41 +08:00
Simon Knox 737884341d Update ext install command to match readme (#5784)
The previous command opened a list of forks and projects with the same name, it wasn't clear which one to install
2019-01-22 00:27:31 +08:00
Simen Bekkhus 565731668f fix: do not format callbacks with arguments as React hooks (#5778)
Ref: https://github.com/prettier/prettier/pull/5608#issuecomment-455860396
2019-01-22 00:26:39 +08:00
Ika 106fc36c81
docs: add CHANGELOG.unreleased.md (#5775)
Ref: https://github.com/prettier/prettier/issues/5735#issuecomment-452784056
2019-01-21 08:33:07 +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 a9fd8e2cf4
fix(api): do not report the same deprecation warning more than once (#5774)
A quick fix for suppressing duplicate deprecation warnings.
2019-01-20 15:38:19 +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
Ika 42f7b6025e
fix(javascript): remove unnecessary linebreaks from html templates (#5771) 2019-01-20 11:15:18 +08:00
Wenlu Wang 1dea4ef6f2 fix: allow plugin instance (#5760) (#5763) 2019-01-18 12:40:18 -02:00
Ika 72d9732f1d
chore(azure): node v4 compatible yarn (#5766)
Workaround for yarnpkg/yarn#6900
2019-01-18 21:40:35 +08:00
James Henry 8ac0a731a4
chore: update typescript-estree to 18.0.0 (#5750) 2019-01-12 17:02:16 -05:00
James Henry ef6386015d fix: update typescript and typescript-estree to latest (#5728) 2019-01-12 11:10:52 +08:00
Jimmy Gaussen 282597c1e5 docs: fix Windows build (#5742) (#5743) 2019-01-10 18:33:43 -05:00
makepost 94eab666c4 fix(javascript): skip .connect() method when composing fun (#5739) 2019-01-10 12:20:15 -07: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
Jarda Snajdr 5847c168e4 Fix formatting of lists in SCSS property/variable values (#5710) 2019-01-10 00:08:34 +08:00
m-adler e83490a90e Escape spaces within file names in pre-commit hook script (#5721) 2019-01-07 23:30:20 -07:00
Phil 30979ed104 typescript: remove unneeded parentheses around type annotation (#5724)
* Remove unnecessary parentheses from annotations

* add test for ts parentheses bug
2019-01-07 09:19:41 -03:00
Franco Victorio 14730106db Add solidity plugin to list of plugins (#5726) 2019-01-07 07:57:09 +08: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
Jed Fox 633a12a29a
Update copyright line (#5455)
* Update copyright line

* Update LICENSE
2019-01-03 07:21:32 -05:00
Ika 63999c74eb
fix(mdx): handle inline html correctly (#5704) 2019-01-03 10:46:11 +08:00
Dmitry Sharshakov aka. sh7dm 1ca473186a docs: Happy New Year! 🎁 (#5699) 2019-01-01 12:25:06 +08:00
Ika 3de36e3a2b
fix(ng,vue): add parens to avoid unexpected `}}` in interpolations (#5657) 2018-12-30 23:03:42 +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
Alexander Kachkaev a18d80253a Restore --check option docs (#5674) 2018-12-25 16:01:02 +08:00
Ika f744a84858
feat(website): enable docs versioning (#5676) 2018-12-25 08:20:35 +08:00
Alexander Kachkaev 439b1649ff Temporary remove --check docs until 1.16 is released to avoid confusion (#5671)
Context: https://github.com/prettier/prettier/pull/5629#issuecomment-448933238
2018-12-21 06:27:17 -05:00
Ika 65a9d3b8cc
fix(flow,ts): format `/* HTML */` templates (#5658) 2018-12-19 23:00:18 +08:00
Alexander Kachkaev 711c6d78a8 Add --check option (#5629) 2018-12-19 22:03:30 +08:00
Ika f94f63b040
chore: update azure pipelines (#5611)
- upload coverage report (codecov) from azure pipelines
- only build `dist` once (`dist` is now shared between production jobs)
- run production tests on macOS (not sure why but it's faster than others)
- extract shareable steps
- remove travis/circle
2018-12-18 08:16:32 +08:00
mattia richetto 031f6e860f Update string-width to support emoji natively (#5646)
the `string-width` package v3 now supports emoji width https://github.com/sindresorhus/string-width/pull/17
2018-12-18 08:13:12 +08:00
lhchavez 911d6c88e5 Fix formatting with --range-start / --range-end (#5632)
This change avoids collapsing an already-formatted range into a single
overlong line when --range-start / --range-end are provided.

Fixes: #4923
2018-12-17 10:59:20 -02:00
Dmitriy Sharshakov aka. sh7dm 6a45924379 fix(printer-postcss): ignore escape \ and escaped / in Less (#5597)
Avoid messing up Less files containing \\/ (escaped /).
Ignore escape \ and escaped / in Less.
2018-12-17 08:28:48 +08:00
Ika cbf06bf388
feat(html): format script with "application/ld+json" (#5642) 2018-12-16 16:21:10 +08:00
Brian Ng 8e612f05a0
Add support for class private methods (#5637) 2018-12-14 09:45:26 -06:00
Ika ffc8482458
fix(vue): tag names are case-sensitive (#5606) 2018-12-13 10:31:48 +08:00
Ika 419559e964
fix(javascript): correct indentation for expression in root template (#5607) 2018-12-12 09:52:23 +08:00
Ernesto García cd141c5347 Fix incorrect grammar (#5626)
* Fix incorrect grammar

* Update docs/rationale.md

Co-Authored-By: gnapse <gnapse@gmail.com>
2018-12-11 14:10:11 -05:00
Jed Fox b74f94d6dd
Remove the dynamic `require()` call in the standalone bundle (#5612)
* Remove the dynamic `require()` call in the standalone bundle

* Liiiint

* Just use `replaceStrings`

* Reword error message
2018-12-11 05:59:59 -05:00