Commit Graph

3104 Commits (2523a017aad479b006593e9b380e4e27a7caea3d)

Author SHA1 Message Date
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
Cyrille David dd64842375 chore(Handlebars): Refactor test suite (#6378) 2019-08-12 10:35:13 -03:00
Chris Brody 4b96097a8d get-stream@4.1.0 update in package dependencies (#6372) 2019-08-09 16:42:02 +03:00
Sosuke Suzuki 9e5a5435a1 fix(TypeScript): specific union type breaks after opening parenthesis, but not before closing (#6307) 2019-08-08 16:48:37 +03:00
Sosuke Suzuki ce366f0834 fix(JavaScript): bug when arrow fn as function parameter with newline (#6301) 2019-08-08 16:06:28 +03:00
Sosuke Suzuki d66c5f82da fix(HTML, Vue): don't break the template element included in a line shorter than print-width (#6284) 2019-08-08 15:18:37 +03:00
Jack Bates 38450587fe Delete .config.json.swp (#6363) 2019-08-08 15:02:47 +03:00
fisker Cheung 494e3b7428 Update babel (#6368)
* Update `@babel/core` & `@babel/preset-env` to latest

* Update `@babel/code-frame`
2019-08-08 15:00:42 +03:00
fisker Cheung c5cf747b26 Update rollup to v1.19.4 (#6365) 2019-08-08 13:23:04 +03:00
fisker Cheung 0e77cd3d33 Update ESLint to v6 (#6364) 2019-08-08 13:21:32 +03:00
kamilic 7d0175ca90 feat: implement --vue-indent-script-and-style mentioned at pr-#… (#6157)
* feat: implement --vue-indent-script-and-style mentioned at pr-#6077

* docs: --vue-indent-script-and-style

* update new test case

* feat: playground for --vue-indent-script-and-style

* chores: Revert package.json version

* Remove noisy snapshots
2019-08-01 11:06:12 +02:00
JounQin e5fbef238d docs: fix possible typo AFAIK (#6341) 2019-07-30 11:48:14 +02:00
JounQin 998f98aade fix: Adjacent JSX elements should be allowed in mdx (#6332)
* fix: adjacent JSX elements should be allowed in mdx

* chore: update CHANGELOG.unreleased.md for PR

* fix: adjacent JSX elements format issue of line

* fix: get html text from ast correctly

* fix: self closing issue

* fix: finally find out how to get original text from position

* chore: reset unnecessary changes

* fix: additional text after jsx should also be allowed

* fix: regression of empty text

* docs: add missing links

* fix linting...
2019-07-29 14:32:24 +03:00
Niklas Higi 788bd7afcd Link to `fast-glob` instead of `glob` in docs (#6333) 2019-07-28 09:43:06 +03:00
Gabriel Harel 48697e9237 Handle missing cache directory for changedCache (#6327)
* handle missing cache directory for changedCache

* fallback to temp dir when cache dir not found
2019-07-26 13:03:26 -03:00
Gabriel Harel 6fae09b67e Add --only-changed flag to CLI (#5910) 2019-07-22 11:17:24 -03:00
Matt Kane 7286413ee5 Add JSON script types (#6293)
* Add JSON mimetypes

* Use endsWith

Co-Authored-By: Simon Lydell <simon.lydell@gmail.com>
2019-07-22 16:48:03 +03:00
Joffrey JAFFEUX b557dc3603 [Glimmer/Handlebars] Forces multilines print when almost at max length (#6249) 2019-07-22 10:39:18 -03:00
dependabot[bot] 0c72b24a0e Bump lodash from 4.17.5 to 4.17.15 in /website (#6320)
Bumps [lodash](https://github.com/lodash/lodash) from 4.17.5 to 4.17.15.
- [Release notes](https://github.com/lodash/lodash/releases)
- [Commits](https://github.com/lodash/lodash/compare/4.17.5...4.17.15)

Signed-off-by: dependabot[bot] <support@github.com>
2019-07-22 14:04:10 +03:00
Alexander Kachkaev 26b55a7e33 Add prettier-plugin-packagejson to docs (#6314) 2019-07-20 20:43:11 +02:00
Liam Stupid Name Humphreys 9c8d920c17 add Kotlin plugin to plugins doc (#6309)
* add kotlin-plugin to plugins doc

* maintain alphabetic order in plugins list

* maintain alphabetic order in plugins list
2019-07-18 10:54:39 -04:00
dependabot[bot] 8b039ae195 Bump lodash.merge from 4.6.1 to 4.6.2 in /website (#6287)
Bumps [lodash.merge](https://github.com/lodash/lodash) from 4.6.1 to 4.6.2.
- [Release notes](https://github.com/lodash/lodash/releases)
- [Commits](https://github.com/lodash/lodash/commits)

Signed-off-by: dependabot[bot] <support@github.com>
2019-07-13 03:47:44 +03:00
Lucas Duailibe 91a7aa081e
Fix more bugs with double slash in TSX (#6289) 2019-07-11 11:27:53 -03:00
Sosuke Suzuki 033002cdc3 TypeScript, Flow: Fix breaking ordering comments in React.useEffect (#6270) 2019-07-10 11:34:23 -03:00
Sosuke Suzuki 74f4d2b3c0 JavaScript: Keep line breaks when tagged template literal has a single line comment. (#6236) 2019-07-10 10:56:53 -03:00
Sosuke Suzuki cfba21f493 JavaScript: Keep unary expressions parentheses with comments (#6217) 2019-07-10 10:06:08 -03:00
dependabot[bot] 712b44b814 Bump mem from 1.1.0 to 4.0.0 (#6275)
Bumps [mem](https://github.com/sindresorhus/mem) from 1.1.0 to 4.0.0.
- [Release notes](https://github.com/sindresorhus/mem/releases)
- [Commits](https://github.com/sindresorhus/mem/compare/v1.1.0...v4.0.0)

Signed-off-by: dependabot[bot] <support@github.com>
2019-07-10 08:19:50 -03:00
Gavin Joyce 12b8176d5d [Glimmer] preserve html entities (#6234) 2019-07-08 11:07:41 +02:00
Bruno Quaresma da0c6faeda Add ES modules instructions in browser docs (#6268)
* Add ES6 instructions in browser docs

* Change ES6 to ES6 Modules in browser docs

Co-Authored-By: Jed Fox <git@twopointzero.us>

* Run prettier --write docs/browser.md
2019-07-05 07:41:07 +02:00
Shinigami 9721f88337 Update docs - Plugin pug official (#6267)
* Change link

* Add to website
2019-07-03 17:46:20 -04:00
Javi Armendáriz 7f938c71ff Adding Openbravo to users.yml (#6261) 2019-07-02 23:37:50 +02:00
Shinigami 5ceb4858ee Remove not publish from plugin pug (#6258) 2019-07-01 13:10:45 +02:00
Shinigami 940831b063 Swap bases in changelog (#6251) 2019-07-01 08:24:41 +02:00
Lipis d628d8cd79
Remove Python plugin (#6255) 2019-06-28 23:21:53 +02:00