Commit Graph
7450 Commits
Author SHA1 Message Date
Georgii Dolzhykov 41ff44e0c6 Refactor, optimize and fix call args expansion (#13341) 2022-08-29 14:37:09 +03:00
fisker Cheung 4a224a7221 Add print pre-check to handlebars, html, markdown, yaml (#13392) 2022-08-29 18:16:38 +08:00
Georgii Dolzhykov 1ea5c993a0 Fix arrow chain indentation in calls and binaries (#13391) 2022-08-29 12:27:24 +03:00
renovate[bot] d0c15ecb28 Update dependency eslint-plugin-jest to v27.0.1 (#13394)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-08-29 09:32:53 +08:00
Georgii Dolzhykovandfisker Cheung c8ff3870c3 Refactor printObject (#13393)
Co-authored-by: fisker Cheung <lionkay@gmail.com>
2022-08-28 22:47:31 +03:00
fisker Cheung 0a294ac130 Forbid pass non-node object to graphql printer (#13363) 2022-08-28 23:54:17 +08:00
renovate[bot] 9c65830a96 Update dependency eslint-plugin-jest to v27 (#13390)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-08-28 23:51:58 +08:00
renovate[bot] b7cfea5d5f Update dependency jest to v29 (#13389)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-08-28 23:09:40 +08:00
renovate[bot] 2dca4be2d5 Update dependency jest-docblock to v29 (#13384)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-08-28 23:00:14 +08:00
renovate[bot] 23693b997a Update dependency @babel/parser to v7.18.13 (#13367)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-08-28 22:59:20 +08:00
renovate[bot] d5ae77a140 Update dependency @typescript-eslint/typescript-estree to v5.35.1 (#13373)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-08-28 22:58:53 +08:00
renovate[bot] 73551b0355 Update dependency codemirror-graphql to v2 (#13382)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-08-28 20:25:16 +08:00
renovate[bot] 57052c95b0 Update dependency eslint-plugin-react to v7.31.1 (#13376)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-08-28 20:19:44 +08:00
renovate[bot] 88dc92a32e Update dependency eslint-plugin-jest to v26.9.0 (#13388)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-08-28 20:17:09 +08:00
renovate[bot] 4b44fbde59 Update dependency @babel/core to v7.18.13 (#13366)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-08-28 20:05:23 +08:00
renovate[bot] 8defc19769 Update dependency @babel/types to v7.18.13 (#13368)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-08-28 20:05:05 +08:00
renovate[bot] 28f805787e Update dependency @typescript-eslint/visitor-keys to v5.35.1 (#13374)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-08-28 20:04:26 +08:00
Sosuke Suzukiandfisker Cheung 726ad132d8 Update Jest to v29 (#13355)
Co-authored-by: fisker Cheung <lionkay@gmail.com>
2022-08-28 20:02:55 +08:00
renovate[bot] d3d40d2664 Update dependency flow-parser to v0.185.2 (#13371)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-08-28 19:19:39 +08:00
renovate[bot] c41c9e3cca Update dependency cspell to v6.8.1 (#13369)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-08-28 19:00:44 +08:00
renovate[bot] 6b86220fe4 Update dependency eslint-plugin-regexp to v1.9.0 (#13377)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-08-28 18:59:34 +08:00
renovate[bot] 0257c28e6b Update dependency eslint to v8.23.0 (#13375)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-08-28 18:57:31 +08:00
renovate[bot] b36c9b7cd2 Update dependency @typescript-eslint/eslint-plugin to v5.35.1 (#13372)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-08-28 16:21:34 +08:00
renovate[bot] e42f9d230b Update dependency eslint-plugin-n to v15.2.5 (#13370)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-08-28 16:20:14 +08:00
renovate[bot] fc52d031ed Update Yarn to v3.2.3 (#13365)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-08-28 15:56:03 +08:00
fisker Cheung d0f0b09d1b Replace replaceTextEndOfLine with replaceEndOfLine (#13343) 2022-08-27 19:14:07 +08:00
fisker Cheung 5c465a77b3 Check all types in traverseDoc (#13357) 2022-08-27 18:41:33 +08:00
Georgii Dolzhykov 0e17e18893 Refactor isSimpleCallArgument (#13359)
Refactor isSimpleCallArgument and make it a bit stricter
2022-08-26 18:11:25 +03:00
fisker Cheung d921087d12 Throw errors when too many 'cursor' found in doc (#13339) 2022-08-26 21:33:49 +08:00
fisker Cheung 286c354c46 Minor refactor (#13356) 2022-08-26 21:31:09 +08: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
fisker Cheung a166544583 Forbid pass non-node object to print() (#13293) 2022-08-25 19:19:46 +08:00
fisker Cheung 75025561c4 Return undefined for invalid doc type (#13306) 2022-08-25 19:18:26 +08:00
fisker Cheung db21497592 Docs: Fix handleComments function signature (#13308) 2022-08-25 19:17:38 +08:00
fisker Cheung edf36039f9 Add test for traverseDoc and findInDoc (#13349) 2022-08-25 01:12:41 +03: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 Cheung f33ae9f583 Check all types in cleanDoc (#13348) 2022-08-23 16:14:48 +08:00
fisker Cheung cd8c49d78e Mention @prettier/sync in changelog (#13297) 2022-08-23 16:10:40 +08:00
fisker Cheung 4959b7c113 Check all doc types in mapDoc (#13344) 2022-08-23 09:49:45 +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
fisker Cheung e28ae2670c Remove placeholder from doc.builders.cursor (#13312) 2022-08-22 19:21:30 +08:00
fisker Cheung 49cd8be0b8 Minor refactor to mapDoc (#13305) 2022-08-22 18:38:18 +08:00
fisker Cheung 88c178c17f Minor refactor to cleanDoc (#13304) 2022-08-22 18:04:32 +08:00
renovate[bot] fe1c28e823 Update dependency cspell to v6.8.0 (#13333)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-08-22 16:14:46 +08:00
Georgii Dolzhykov 05c873f09d Playground: fix 'show doc', add folding for doc-explorer (#13336) 2022-08-22 09:25:18 +03:00
renovate[bot] 8ff40f3252 Update dependency eslint-plugin-jest to v26.8.7 (#13337)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-08-22 14:15:47 +08:00
renovate[bot] 7fe01c7e93 Update dependency css-units-list to v2 (#13332)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-08-22 14:14:32 +08:00
fisker Cheung 968ea2e444 Use symbol for doc print mode (#13313) 2022-08-22 12:16:20 +08:00