Commit Graph
25 Commits
Author SHA1 Message Date
5ceeccf38d chore(deps): update dependency typescript to v5.4.3 (#16181)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: fisker <lionkay@gmail.com>
Co-authored-by: Sosuke Suzuki <sosuke.suzuki@dr-ubie.com>
2024-04-08 14:26:54 +08:00
fisker Cheung 384e2b4959 Remove getDocParts (#16026) 2024-02-04 14:33:39 +08:00
Alexander Kachkaev 1ea2fd059a Add eslint-plugin-simple-import-sort (#15817) 2023-12-18 03:34:12 +08:00
Sosuke Suzuki eebf0e4b5e Bump Prettier dependency to 3.1.0 2023-11-13 12:00:57 +09:00
Sosuke Suzuki fa48415617 Bump Prettier dependency to 3.0.0 2023-07-05 21:50:05 +09:00
fisker Cheung a78e514d77 Improve doc printer when printWidth: Infinity (#14638) 2023-03-31 16:47:26 +08:00
fisker Cheung 57b37a3c27 Move propagateBreaks to printDocToString (#14466) 2023-03-07 20:42:14 +08:00
fisker Cheung 9fd8dbed88 Skip measure width of last string in printDocToString (#13894) 2022-12-19 13:30:50 +08:00
renovate[bot]andfisker 6959f30a81 Update dependency eslint-plugin-unicorn to v45 (#13876)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: fisker <lionkay@gmail.com>
2022-11-21 23:41:27 +08:00
fisker Cheung 9cf73d3610 Use c8 ignore comments (#13683) 2022-10-22 23:33:08 +08:00
fisker Cheung 8c93abf557 Enable unicorn/switch-case-braces rule (#13585) 2022-10-08 10:44:30 +08:00
Lipisandfisker Cheung 4ed2d3c4bc style: Add new ESLint rule no-lonely-if and unicorn/no-lonely-if (#10176)
Co-authored-by: fisker Cheung <lionkay@gmail.com>
2022-09-29 10:25:54 +08:00
fisker Cheung 9bacc75772 Use .at() and Object.hasOwn() (#13482) 2022-09-18 17:50:14 +08:00
Georgii Dolzhykov 5766433a62 Get rid of regexp and handle cursor in trim in doc printer (#13426) 2022-09-06 15:57:47 +03:00
fisker Cheung 05922176b9 Simplify print command trim (#13314) 2022-08-31 17:46:22 +08:00
fisker Cheung d921087d12 Throw errors when too many 'cursor' found in doc (#13339) 2022-08-26 21:33:49 +08:00
fisker Cheung e28ae2670c Remove placeholder from doc.builders.cursor (#13312) 2022-08-22 19:21:30 +08:00
fisker Cheung 968ea2e444 Use symbol for doc print mode (#13313) 2022-08-22 12:16:20 +08:00
fisker Cheung aa3158d43e Move groupModeMap into printDocToString (#13311) 2022-08-20 21:12:07 +08:00
fisker Cheung 33e621133c Remove prettier.doc.builders.concat (#13203) 2022-08-06 11:03:47 +08:00
fisker Cheung f79c8d56ac Fix 2022-07-23 20:48:21 +08:00
fisker Cheung c5ffd9130f Merge branch 'main' into next
# Conflicts:
#	src/document/doc-printer.js
2022-07-23 20:45:25 +08:00
fisker Cheung 03416a153a Throw errors for invalid doc (#13149) 2022-07-23 20:10:37 +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 2bcee631a2 Refactor: Import document/*.js directly (#12739) 2022-04-29 14:04:17 +08:00