 fisker CheungandSosuke Suzuki
|
d797f0cff2
|
Support TypeScript 5 (#13819)
Co-authored-by: Sosuke Suzuki <sosuke.suzuki@dr-ubie.com>
|
2023-03-15 11:06:31 +08:00 |
|
fisker Cheung
|
80419fa69e
|
Remove unnecessary parentheses around class expression (#14409)
|
2023-03-09 15:22:27 +08:00 |
|
fisker Cheung
|
dbd5e3fe26
|
Add test for #14454 (#14471)
|
2023-03-09 09:51:29 +08:00 |
|
fisker Cheung
|
8036248b0a
|
Move prettier-ignored node print into estree printer (#14406)
|
2023-03-06 15:40:18 +08:00 |
|
fisker Cheung
|
4a26d88f9a
|
Merge branch 'main' into next
# Conflicts:
# src/language-js/needs-parens.js
# tests/config/format-test.js
|
2023-02-24 09:40:12 +08:00 |
|
fisker Cheung
|
bc098779c4
|
Add missing parentheses for decorator (#14393)
|
2023-02-24 09:20:34 +08:00 |
|
fisker Cheung
|
24652d9186
|
Support babel v7.21 (#14391)
|
2023-02-24 08:59:53 +08:00 |
|
fisker Cheung
|
5cdc3ab2dd
|
Support print ChainExpression (#13735)
|
2023-02-13 10:11:40 +08:00 |
|
 fisker CheungandGeorgii Dolzhykov
|
add84358d8
|
Remove flow plugin from babel parser (#14314)
Co-authored-by: Georgii Dolzhykov <thorn.mailbox@gmail.com>
|
2023-02-10 17:27:17 +08:00 |
|
fisker Cheung
|
b1ef30dd17
|
Merge branch 'main' into next
# Conflicts:
# docs/browser.md
# package.json
# src/language-js/comments/handle-comments.js
# src/language-js/needs-parens.js
# src/language-js/print/type-parameters.js
# yarn.lock
|
2023-02-08 12:37:23 +08:00 |
|
fisker Cheung
|
9842b29ca3
|
Recognize @satisfies in Closure-style type casts (#14262)
|
2023-02-07 15:19:09 +08:00 |
|
 renovate[bot]andfisker Cheung
|
4d80f5cf17
|
chore(deps): update dependency flow-parser to v0.199.1 (#14298)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: fisker Cheung <lionkay@gmail.com>
|
2023-02-07 09:27:21 +08:00 |
|
 renovate[bot]andfisker
|
e03671797e
|
chore(deps): update dependency @babel/parser to v7.20.15 (#14295)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: fisker <lionkay@gmail.com>
|
2023-02-05 13:59:21 +08:00 |
|
 renovate[bot]andfisker Cheung
|
1dafaa0392
|
Update flow-parser to v0.198 (#14182)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: fisker Cheung <lionkay@gmail.com>
|
2023-01-28 09:56:49 +08:00 |
|
Georgii Dolzhykov
|
cfa5f27afe
|
Avoid adding unnecessary indent to nested await (#14192)
|
2023-01-20 12:58:44 +02:00 |
|
fisker Cheung
|
cd728eaee2
|
Fix
|
2023-01-10 09:51:05 +08:00 |
|
fisker Cheung
|
0cd7e10447
|
Merge branch 'main' into next
# Conflicts:
# docs/browser.md
# src/language-js/print/literal.js
# src/language-js/print/misc.js
# src/language-js/printer-estree.js
# tests/format/markdown/auto-link/jsfmt.spec.js
# yarn.lock
|
2023-01-10 09:38:45 +08:00 |
|
fisker Cheung
|
aaf919014f
|
Fix comments after directive (#14081)
|
2023-01-07 16:43:44 +08:00 |
|
fisker Cheung
|
acb7354f85
|
Merge branch 'main' into next
# Conflicts:
# src/language-js/needs-parens.js
|
2023-01-04 16:02:27 +08:00 |
|
fisker Cheung
|
f8e1ad806c
|
Add parens to head of ExpressionStatement instead of whole statement (#14077)
|
2023-01-04 15:22:12 +08:00 |
|
fisker Cheung
|
468c514ba2
|
Fix inconsistent between array/tuple and object/record (#14065)
|
2023-01-04 15:07:07 +08:00 |
|
fisker Cheung
|
9afa8544eb
|
Merge branch 'main' into next
# Conflicts:
# src/language-js/needs-parens.js
|
2022-12-29 17:50:50 +08:00 |
|
fisker Cheung
|
ef707da0a2
|
Fix formatting for auto-accessors with comments (#14038)
Fixes https://github.com/prettier/prettier/issues/14036
|
2022-12-29 17:17:54 +08:00 |
|
fisker Cheung
|
d798b55486
|
Improve let check in for..of (#14076)
|
2022-12-29 15:12:22 +08:00 |
|
Georgii Dolzhykov
|
201e02e14e
|
Fix displacing of comments in default switch case (#14047)
|
2022-12-29 10:13:02 +08:00 |
|
fisker
|
a51568db85
|
Merge branch 'main' into next
# Conflicts:
# package.json
# scripts/vendors/vendor-meta.json
# src/language-js/needs-parens.js
# src/language-js/utils/index.js
# tests/format/misc/errors/js/assignment/jsfmt.spec.js
# tests/format/misc/typescript-only/__snapshots__/jsfmt.spec.js.snap
# vendors/chalk.js
# vendors/execa.js
# vendors/mem.js
# vendors/string-width.js
# vendors/tempy.js
# yarn.lock
|
2022-12-26 10:42:45 +08:00 |
|
 fisker CheungandGeorgii Dolzhykov
|
57a109af0a
|
Add missing parentheses to let in for..of loop (#14044)
Co-authored-by: Georgii Dolzhykov <thorn.mailbox@gmail.com>
|
2022-12-23 14:49:01 +08:00 |
|
 fisker CheungandGeorgii Dolzhykov
|
a6b6184d75
|
Add missing parentheses to let (#14000)
Co-authored-by: Georgii Dolzhykov <thorn.mailbox@gmail.com>
|
2022-12-22 09:42:03 +08:00 |
|
fisker Cheung
|
2a9c166a36
|
Merge branch 'main' into next
|
2022-12-19 18:12:58 +08:00 |
|
fisker Cheung
|
985b895c47
|
Improve keyword class property print (#13997)
|
2022-12-19 13:20:48 +08:00 |
|
Sosuke Suzuki
|
a8869bef55
|
Merge branch 'main' into next
|
2022-12-08 22:00:17 +09:00 |
|
Alex Rattray
|
28d097bbf5
|
Add test cases for questioning ternaries (#13952)
## Description
Extracts test cases that I added for https://github.com/prettier/prettier/pull/13183 to make it easier to visualize the changes that PR makes, as @vjeux [requested](https://github.com/prettier/prettier/pull/13183#discussion_r990820889).
## Checklist
<!-- Please ensure you’ve done all of these things (if applicable). -->
<!-- You can replace the `[ ]` with `[x]` to mark each task as done. -->
- [x] I’ve added tests to confirm my change works.
- [x] I’ve read the [contributing guidelines](https://github.com/prettier/prettier/blob/main/CONTRIBUTING.md).
<!-- Please DO NOT remove the playground link -->
**✨[Try the playground for this PR](https://prettier.io/playground-redirect)✨**
|
2022-12-07 15:46:40 -05:00 |
|
 Sosuke Suzukiandfisker Cheung
|
1cf760a184
|
Support decorator auto accessors syntax (#13919)
* Install new ts-estree
* Print auto accessor properties
* Support edge cases
* Misc tests
* Add tests for auto accessor with type annotations
* Add changelog
* Update changelog_unreleased/typescript/13919.md
Co-authored-by: fisker Cheung <lionkay@gmail.com>
* Update changelog_unreleased/typescript/13919.md
Co-authored-by: fisker Cheung <lionkay@gmail.com>
* Print semicolon for accessor and add tests
* Add TODO comment
* Add to properties list
* Address review
Co-authored-by: fisker Cheung <lionkay@gmail.com>
|
2022-12-05 20:50:15 +09:00 |
|
 renovate[bot]andfisker Cheung
|
0aceb64c6d
|
Update dependency @babel/parser to v7.20.5 (#13939)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: fisker Cheung <lionkay@gmail.com>
|
2022-12-05 14:09:26 +08:00 |
|
fisker Cheung
|
1f9206f219
|
Merge branch 'main' into next
# Conflicts:
# src/language-js/print/statement.js
|
2022-12-01 18:00:40 +08:00 |
|
fisker Cheung
|
e4240aeaf0
|
Add tests for keyword class property (#13927)
|
2022-12-01 17:03:37 +08:00 |
|
fisker Cheung
|
817460b93a
|
Merge branch 'main' into next
# Conflicts:
# netlify.toml
|
2022-12-01 15:22:35 +08:00 |
|
fisker Cheung
|
655a161d0f
|
Add tests for multiple comments (#13890)
Close https://github.com/prettier/prettier/issues/3105
|
2022-11-25 10:52:47 +08:00 |
|
fisker Cheung
|
39e5466007
|
Support "Explicit Resource Management" proposal (#13752)
|
2022-11-14 19:45:27 +08:00 |
|
fisker Cheung
|
0d808c5ad8
|
Remove outdated range fix (#13736)
|
2022-11-14 19:45:08 +08:00 |
|
fisker Cheung
|
1de926ac79
|
Support "Import Reflection" proposal (#13771)
|
2022-11-07 09:49:35 +08:00 |
|
fisker Cheung
|
256578bd3a
|
Update jest-light-runner to v0.4.1 (#13749)
|
2022-10-30 11:05:09 +08:00 |
|
Alexander Kachkaev
|
8df3b5ee60
|
Markdown: Preserve multiple spaces in inline code (#13590)
|
2022-10-14 10:58:03 +03:00 |
|
fisker Cheung
|
6615d07565
|
Fix template literal indention (#13621)
|
2022-10-13 13:31:06 +08:00 |
|
Georgii Dolzhykov
|
6d4d011252
|
Fix unstable embedded template literals (#13532)
|
2022-09-26 16:24:41 +03: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 |
|
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 |
|