Commit Graph
229 Commits
Author SHA1 Message Date
Sosuke Suzuki 63be4c7f8b SCSS: Fix formatting string value that includes escape \ (#13487)
* Ignore ignoreing escape for `value-string`

* Revert

* Add changelog
2022-09-18 23:42:16 +09:00
Georgii Dolzhykov 1f46accde5 Support nestled JSDoc comments (#13445) 2022-09-13 15:24:45 +03:00
Georgii Dolzhykov d2a0c778ef Fix merged line comments (#13438) 2022-09-08 09:45:33 +03:00
renovate[bot]andfisker Cheung bd5f91545f Update dependency typescript to v4.8.2 (#13381)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: fisker Cheung <lionkay@gmail.com>
2022-09-07 21:02:51 +08:00
Georgii Dolzhykov 2a70ee49a6 Fix leading comments in mapped types with readonly (#13427) 2022-09-06 11:55:11 +03:00
Georgii Dolzhykov 39a89c6519 Don't break signature of hugged function expression if parameters are identifiers without types (#13410) 2022-09-03 17:49:57 +03:00
renovate[bot]andfisker 40ffe244a3 Update dependency espree to v9.4.0 (#13378)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: fisker <lionkay@gmail.com>
2022-09-03 10:37:05 +08:00
Sosuke Suzuki 40af3ed1ca Keep trailing-comma for var function (#13402)
* Keep trailing-comma for last el

* Make hasComma function

* Fix tests

* Add changelog
2022-08-31 00:59:34 +09:00
Georgii Dolzhykov f5610b8510 Hug object types in function parameters in Flow like in TS (#13396) 2022-08-30 17:38:50 +03:00
Georgii Dolzhykov 41ff44e0c6 Refactor, optimize and fix call args expansion (#13341) 2022-08-29 14:37:09 +03:00
Georgii Dolzhykov 1ea5c993a0 Fix arrow chain indentation in calls and binaries (#13391) 2022-08-29 12:27:24 +03:00
fisker Cheung 135a9952d2 Fix snapshot 2022-08-26 10:53:38 +08:00
fisker Cheung 90d836d5ca Update tests 2022-08-26 10:35:34 +08:00
fisker Cheung 0b072060b5 Merge branch 'main' into next
# Conflicts:
#	src/language-js/print/flow.js
#	src/language-js/print/literal.js
2022-08-26 10:29:09 +08:00
5a627651ff fix: line breaks in multiline strings, issue 13157 (#13274)
Co-authored-by: Georgii Dolzhykov <thorn.mailbox@gmail.com>
Co-authored-by: Gleb Dolzhikov <gleb.dolzhikov@ix.co>
Co-authored-by: fisker Cheung <lionkay@gmail.com>
2022-08-23 20:56:52 +08:00
fisker CheungandGeorgii Dolzhykov 3cae07c9df Fix cursor positioning for files containing emoji (#13340)
Co-authored-by: Georgii Dolzhykov <thorn.mailbox@gmail.com>
2022-08-22 19:24:14 +08:00
Gleb DolzhikovandGleb Dolzhikov f2244bdc86 Fix parens in inferred function return types with extends (#13289)
Co-authored-by: Gleb Dolzhikov <9276677@gmail.com>
2022-08-17 18:36:25 +03:00
José Pereiraandfisker Cheung 2d3a274847 fix: extra space between '#' and '{' (#13286)
* fix: extra space between '#' and '{'

* Update src/language-css/printer-postcss.js

Co-authored-by: fisker Cheung <lionkay@gmail.com>

* adding changelog

* Update 13286.md

Co-authored-by: fisker Cheung <lionkay@gmail.com>
2022-08-17 23:32:29 +09:00
Georgii Dolzhykov 17081e6cf6 Support decorated function pattern (#10714) 2022-08-08 21:57:19 +03:00
renovate[bot]andSosuke Suzuki 6b390a9a23 Update dependency meriyah to v4.3.0 (#13247)
* Update dependency meriyah to v4.3.0

* Update tests

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Sosuke Suzuki <aosukeke@gmail.com>
2022-08-08 23:27:18 +09:00
renovate[bot]andfisker Cheung 02484b41de Update dependency @babel/parser to v7.18.11 (#13239)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: fisker Cheung <lionkay@gmail.com>
2022-08-08 19:14:01 +08:00
fisker Cheung f8fff81005 Print HTML5 doctype in lowercase (#7391) 2022-08-08 01:13:18 +08:00
fisker Cheung 18a31ebc7e Merge branch 'main' into next 2022-08-08 01:11:08 +08:00
t-mangoeandSosuke Suzuki 00ec91bfde Added condition for '+' case. (#13115)
Co-authored-by: Sosuke Suzuki <aosukeke@gmail.com>
2022-08-08 01:08:28 +08:00
Georgii Dolzhykovandfisker Cheung 4d5b645e0e Support async parser for embedded languages (#13211)
Co-authored-by: fisker Cheung <lionkay@gmail.com>
2022-08-07 00:45:06 +08:00
fisker Cheung 5aadab6f28 Support ESM plugins (#13201) 2022-08-06 10:42:27 +08:00
fisker Cheung cdb1494170 Revert "Switch print/embed to async (#13104)" (#13210) 2022-08-02 18:11:34 +08:00
fisker Cheung 298347c9fb Merge branch 'main' into next
# Conflicts:
#	netlify.toml
#	src/cli/find-cache-file.js
#	src/cli/utils.js
#	src/main/parser.js
#	website/playground/PrettierFormat.js
#	website/static/worker.js
2022-08-01 11:27:34 +08:00
fisker Cheung 83400d19b4 Change default value of trailingComma to "all" (#11479) 2022-08-01 11:05:17 +08:00
liuxingbaoyu 3680bb79e1 Update some tests (#13176)
* Revert "Disable a test (#13159)"

This reverts commit 26cf77a5d5.

* remove a test case
2022-07-26 11:30:41 +09:00
Georgii Dolzhykov cd9955f143 Fix range format for function bodies (#13173) 2022-07-25 12:28:24 +03:00
fisker Cheung 26cf77a5d5 Disable a test (#13159) 2022-07-24 00:19:07 +08:00
fisker Cheung 73b8c86cc4 Merge branch 'main' into next
# Conflicts:
#	scripts/tools/bundle-test/yarn.lock
2022-07-23 18:19:22 +08:00
fisker Cheung 8ee0c6354d Fix ifBreak check in fits (#12362) 2022-07-23 18:02:05 +08:00
fisker Cheung 95779099a3 Update acorn to v8.8.0 (#13148) 2022-07-21 21:05:28 +08:00
fisker Cheung 4d4947c284 Merge branch 'main' into next
# Conflicts:
#	src/cli/logger.js
#	src/language-js/print/binaryish.js
#	website/package.json
#	website/yarn.lock
2022-07-19 14:13:01 +08:00
fisker Cheung 8dae4abf41 Switch print/embed to async (#13104) 2022-07-17 16:10:06 +08:00
Sosuke Suzuki 89f90fc013 Insert spaces in pipe (#13100)
* Insert spaces to pipe arguments

* Update snapshots

* Add changelog

* Fix lint problem
2022-07-16 17:18:55 +09:00
fisker Cheung e3cb487706 Merge branch 'main' into next
# Conflicts:
#	.eslintrc.cjs
#	package.json
#	src/language-yaml/index.js
#	yarn.lock
2022-07-11 17:03:30 +08:00
fisker Cheung 1363ad1a88 Fix 2022-07-11 15:38:30 +08:00
fisker Cheung 4b4e3a4666 Merge branch 'main' into next
# Conflicts:
#	package.json
#	yarn.lock
2022-07-11 15:33:30 +08:00
fisker Cheung 811b591ee8 Update dependency jest-docblock to v28.1.1 (#13054) 2022-07-11 10:03:49 +08:00
fisker Cheung a043ac0d73 Update dependency @typescript-eslint/typescript-estree to v5.30.0 (#13053) 2022-06-28 14:22:10 +08:00
Huáng Jùnliàng 9dd761a6e4 fix: JSON modules disable named exports (#13035) 2022-06-23 02:05:46 +08:00
Huáng Jùnliàng b0201e01ef fix: JSON modules disable named exports (#13031) 2022-06-21 10:56:00 +08:00
fisker 21f2ea0f1e Fix 2022-06-19 11:28:28 +08:00
fisker 0e0f879c1a Merge branch 'main' into next
# Conflicts:
#	docs/browser.md
#	package.json
#	scripts/release/yarn.lock
#	scripts/vendors/vendor-meta.json
#	scripts/vendors/vendors.mjs
#	src/cli/expand-patterns.js
#	src/cli/format.js
#	src/cli/utils.js
#	src/language-js/index.js
#	src/language-js/parse/postprocess/index.js
#	src/language-js/parse/postprocess/typescript.js
#	tests/format/misc/errors/invalid/jsfmt.spec.js
#	tests/integration/__tests__/__snapshots__/support-info.js.snap
#	website/playground/sidebar/SidebarOptions.js
#	yarn.lock
2022-06-19 11:12:22 +08:00
chimuraiandfisker Cheung 794d9d1558 bugfix(graphql): Keep useful empty lines in description (#13013)
Co-authored-by: fisker Cheung <lionkay@gmail.com>
2022-06-16 13:33:09 +08:00
fisker Cheung d2bcaea121 Throw errors for invalid TSEmptyBodyFunctionExpression node (#12982) 2022-06-14 12:33:44 +08:00
Sosuke Suzuki 97bab8f984 Update angular-estree-parser (#12993)
* Update `angular-estree-parser`

* Add tests

* Add changelog
2022-06-11 20:08:46 +09:00