Commit Graph

3287 Commits (master)

Author SHA1 Message Date
fisker Cheung 1125936063 Update `html-tag-names` to v1.1.4 (#6553) 2019-09-28 15:39:32 +02:00
fisker Cheung 28b06e9400 Update `eslint-plugin-prettier` to v3.1.1 (#6558) 2019-09-28 15:39:11 +02:00
Andrew Powell 84e7866896 docs: add prettier-plugin-package to community plugins (#6463) 2019-09-28 15:22:18 +02:00
Matthew Leffler 8125667bbf Add R&D to users (#6523) 2019-09-27 13:20:31 +02:00
Sosuke Suzuki c0059b06c0 Fix lint (#6526) 2019-09-27 14:09:43 +03:00
Matthew Leffler bb037eb218 TypeScript: Improve argument expansion with `as` type expressions (#6471) 2019-09-25 09:51:50 -03:00
Albert Nigmatzianov 90bb52439b Add Campusjäger to users (#6509) 2019-09-24 20:28:26 +02:00
fisker Cheung 3fb6d0b88a Update `linguist-languages` to v7.6.0 (#6489) 2019-09-24 18:53:31 +02:00
Sosuke Suzuki 27e777e476 TypeScript: Keep type parameters inline for a variable declaration (#6467)
* Modify to keep inline type parameter with variable declaration

* Update CHENGELOG.unreleased.md

* Add tests

* Add tests

* Add pr number and link
2019-09-24 18:59:54 +03:00
fisker Cheung 24ffeba8f6 Update `@angular/compiler` to v8 (#6498) 2019-09-23 18:36:31 +02:00
Sosuke Suzuki 2e2368f5d7 JavaScript: Fix inconsistent indentation in switch statement (#6514)
* Add "SwitchStatement" to isInsideParenthesis

* Change tests

* Add tests

* Update CHANGELOG.unreleased.md

* Add pr number and link
2019-09-23 18:35:06 +02:00
Sosuke Suzuki c5c8862333 JavaScript: Fix Bad format for multi-line optional chaining with comment (#6506) 2019-09-23 15:00:34 +03:00
Markus 942dc04c51 TASK: Correct version number (#6493) 2019-09-23 13:58:23 +02:00
Lucas Duailibe 70d6352d32 Remove empty blog post 2019-09-16 12:21:09 -03:00
fisker Cheung f000fb1e88 Update babel related deps (#6485) 2019-09-16 08:33:59 -03:00
fisker Cheung a0eddb1c8c Update rollup related deps (#6484) 2019-09-16 08:33:40 -03:00
fisker Cheung 35b6cdcef3 Update eslint related deps (#6483) 2019-09-16 08:33:11 -03:00
fisker Cheung 71d9a08488 Minify postcss parser (#6395)
* Update webpack to v4

* add todo

* add link

* Minify postcss parser

* update yarn.lock

* chore: update yarn.lock
2019-09-16 12:13:32 +03:00
Simon Lydell 8d0ac8bb58 Update website/versioned_docs/version-stable/ 2019-09-14 13:11:52 +02:00
fisker Cheung 5ce16eaa02 Update linguist-languages to v7 (#6367)
* Update linguist-languages to v7

* Trigger build

* Update

* replace `includes` with `indexOf`

* fix `exclude`

* add `nodejs` back
2019-09-14 00:57:16 +03:00
fisker Cheung 370e827217 Update webpack to v4 (#6366)
* Update webpack to v4

* add todo

* add link
2019-09-14 00:55:30 +03:00
Ramy Majouji e83b4537fe Optimize Images (#6472)
* Optimize PNGs and SVGs

Ran all images through SVGO and ImageOptim. No design changes and no lossy compression.

* Add Font Smoothing

* --pretty --indent 2

* Update prettier-centered-logo-static.svg
2019-09-12 22:31:18 +03:00
Jack Bates af3084a63f Plugins can have falsy default options (#6348) 2019-09-12 18:52:48 +03:00
Matthew Leffler ee43140f2c Fix docs lint error (#6474) 2019-09-12 17:21:07 +03:00
Lipis 2e8690a2a9
Rename 2019-09-16-1.19.md to 2019-09-16-1.19.0.md 2019-09-12 01:37:25 +03:00
Lipis 80df0fe793
Create 2019-09-16-1.19.md 2019-09-12 01:36:53 +03:00
Sosuke Suzuki 8e8411b7c7 Fix lint error (#6465) 2019-09-11 13:10:44 +03:00
Sosuke Suzuki 3f89bba231 JavaScript: Fix formatting on long named exports (#6446)
* Modify to put specific export inline

* Add tests

* Fix tests

* Modify to support default exports

* Update CHANGELOG.unreleased.md

* Modify to refactor

* Add pr link

* Modify to rename "content" -> "printed"

* Modify to define canBreak helpter

* Fix from linter

* Update CHANGELOG.unreleased.md

* Add tests
2019-09-11 12:10:34 +03:00
Lipis 9f5bd298db
website: Update dependencies on website (#6455)
* website: Update dependencies on website

* Update website/pages/en/index.js

Co-Authored-By: Simon Lydell <simon.lydell@gmail.com>
2019-09-07 19:38:14 +03:00
Sosuke Suzuki 8f0fdba4ba JavaScript: Fix ugly formatting parens wrap binary expressions… (#6441)
* Modify to break specific call expression correctly

* Add tests

* Update CHANGELOG.unreleased.md

* Add tests

* Fix tests

* Add pr link
2019-09-07 14:46:00 +02:00
Kevin Gibbons fd6ad2a623 handle empty object param patterns with type annotations (#6438)
* handle object patterns in function parameters with type annotations

* fix lint

* update changelog
2019-09-05 21:56:30 +02:00
Georgii Dolzhykov ff9b2b6cb5 HTML: treat scripts as blocks (not inline) (#6423)
* HTML: treat scripts as blocks (not inline)

Fixes #6393

Signed-off-by: Georgii Dolzhykov <thorn.mailbox@gmail.com>

* update CHANGELOG.unreleased.md
2019-09-05 20:24:20 +02:00
Ivan Pazhitnykh 223443c057 Playground: Fix "Report issue" 414 bug (#6409) 2019-08-30 22:30:36 +02:00
Sosuke Suzuki 2523a017aa JavaScript: object destructuring with parameter decorators (#6411) 2019-08-30 07:07:00 +02:00
dependabot[bot] 7c47135f61 Bump mixin-deep from 1.3.1 to 1.3.2 (#6432)
Bumps [mixin-deep](https://github.com/jonschlinkert/mixin-deep) from 1.3.1 to 1.3.2.
- [Release notes](https://github.com/jonschlinkert/mixin-deep/releases)
- [Commits](https://github.com/jonschlinkert/mixin-deep/compare/1.3.1...1.3.2)

Signed-off-by: dependabot[bot] <support@github.com>
2019-08-29 20:15:35 +02:00
Sosuke Suzuki 77e79bbfa5 TypeScript: Fixed to break line and add a semi in one execution on one line long mapped types (#6420) 2019-08-29 20:14:45 +02:00
dependabot[bot] a8d75a1464 Bump mixin-deep from 1.3.1 to 1.3.2 in /website (#6431)
Bumps [mixin-deep](https://github.com/jonschlinkert/mixin-deep) from 1.3.1 to 1.3.2.
- [Release notes](https://github.com/jonschlinkert/mixin-deep/releases)
- [Commits](https://github.com/jonschlinkert/mixin-deep/compare/1.3.1...1.3.2)

Signed-off-by: dependabot[bot] <support@github.com>
2019-08-29 07:02:13 +02:00
Brian Ng 8a4b34d2a4
Add changelog entry for ?? precedence update (#6430) 2019-08-28 15:03:41 -05:00
Kevin Gibbons 01dc7aec65 fix: more readable parentheses for new-call (#6412) 2019-08-28 13:50:24 +03:00
Simon Lydell 2827543154
Improve overrides documentation (#6416)
Refs. #6415.
2019-08-27 07:09:12 +02:00
dependabot[bot] 5c976c4636 Bump eslint-utils from 1.3.1 to 1.4.2 (#6421)
Bumps [eslint-utils](https://github.com/mysticatea/eslint-utils) from 1.3.1 to 1.4.2.
- [Release notes](https://github.com/mysticatea/eslint-utils/releases)
- [Commits](https://github.com/mysticatea/eslint-utils/compare/v1.3.1...v1.4.2)

Signed-off-by: dependabot[bot] <support@github.com>
2019-08-27 07:08:46 +02:00
Shinigami 2f40dba317 Remove alpha from plugin pug (#6408) 2019-08-21 19:18:04 +02:00
Christopher Chedeau 43d03209d2
Update ?? precedence to match stage 3 proposal (#6404)
The spec was updated ( https://tc39.es/proposal-nullish-coalescing/ ) with the following two changes:
- ?? has lower precedence than ||. (previously equal)
- ?? cannot immediately contain, or be contained within, an && or || operation. (parens are now required)

The safe way to upgrade is to run prettier with just this change so that parenthesis are properly added. Then to upgrade the parser (only flow supports the new precendence in the next release, babel hasn't been updated yet) in prettier so that the new precedence is being used. Failure to do so will result in parse errors because of missing parenthesis so we will not have silent errors.

There was only 44 callsites mixing || and ?? in a confusing way in the Facebook codebase so it shouldn't be a huge deal in practice.
2019-08-20 14:26:21 -07:00
Beau Fabry 2314640485 include renames in git pre-commit hook (#6371) 2019-08-15 12:34:19 +03:00
JounQin 68d3e74afe fix(mdx): text with whitespace after JSX trim incorrectly (#6340) 2019-08-14 13:45:59 +03:00
Simon Lydell b9cbca9ece Update website/versioned_docs/version-stable/ 2019-08-12 19:17:55 +02:00
Simon Lydell 26c835c60c Update option philosophy (#6387)
... to more closely align with what we’ve learned the past 3 years.

Note: These are not my personal opinions. It’s my attempt at distilling
internal core discussions into a short document.
2019-08-12 18:25:45 +03:00
fisker Cheung 7829caa818 Fix `.eslintrc.yml` code style (#6388) 2019-08-12 18:23:13 +03:00
Kepler Sticka-Jones e773cfbf12 docs: add jest-runner-prettier to related projects (#6383) 2019-08-12 10:39:08 -03:00
Dirk Schürjohann 6d6d57f2a4 docs: webstorm info on how to watch partials (#6384)
Since file watchers ignore partials like `_component.scss` (underscore!) when imported in some `main.scss`, they won’t be prettified. Use the `COMPILE_PARTIAL=true` environment variable to also watch and prettify partials.
2019-08-12 10:38:42 -03:00