Seiya and fisker Cheung
224f70fb09
Stabilize member chain with empty line ( #15522 )
...
Co-authored-by: fisker Cheung <lionkay@gmail.com >
2023-12-13 16:12:03 +08:00
fisker Cheung and SUZUKI Sosuke
c97480c9a9
Use attributes instead of deprecated assertions ( #15758 )
...
Co-authored-by: SUZUKI Sosuke <aosukeke@gmail.com >
2023-12-10 17:13:03 +09:00
0d1ffb3a91
Consistently use tabs in ternaries when useTabs is true ( #15662 )
...
Co-authored-by: fisker Cheung <lionkay@gmail.com >
Co-authored-by: SUZUKI Sosuke <aosukeke@gmail.com >
2023-12-10 17:10:57 +09:00
Mark Amery
1e30f66f39
Remove claim, untrue since over 5 years ago, that cursorOffset is incompatible with rangeStart/rangeEnd ( #15750 )
2023-12-08 16:35:02 +02:00
Sander Maijers and fisker
8e816ade2e
Allow skipping symlink patterns, to avoid raising a fault ( #15533 )
...
Co-authored-by: fisker <lionkay@gmail.com >
2023-12-08 01:54:18 +09:00
fisker Cheung
389225527c
Remove outdated code ( #15759 )
2023-12-05 18:18:56 +08:00
fisker Cheung
47ca2c1552
Keep empty import attributes and assertions ( #15757 )
2023-12-05 17:55:18 +08:00
fisker Cheung
7015f10d8e
Keep curly braces and from keyword in empty import statements ( #15756 )
2023-12-05 16:13:31 +08:00
fisker Cheung
4c3cfa7a81
Support TypeScript 5.3 ( #15718 )
2023-12-05 15:39:24 +08:00
fisker Cheung
5f0956bc30
Implement our own config explorer ( #15663 )
2023-12-05 15:00:43 +08:00
fisker Cheung
117c04fcc8
Simplify mockable ( #15729 )
2023-12-05 14:39:11 +08:00
SUZUKI Sosuke
0ba2d693ba
Fix unstable and ugly formatting for comments in destructuring patterns ( #15708 )
2023-11-24 00:56:14 +09:00
renovate[bot] and fisker Cheung
8ae13c13a8
chore(deps): update dependency url-or-path to v2.3.0 ( #15684 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: fisker Cheung <lionkay@gmail.com >
2023-11-19 23:12:13 +08:00
fisker Cheung
1b21096744
Make findProjectRoot async ( #15672 )
2023-11-17 21:44:39 +08:00
fisker Cheung
e4a74c05f4
Fix argument passed to lilconfig.search() ( #15363 )
2023-11-16 01:05:57 +08:00
fisker Cheung
99ecf47e1d
Improve RegExps in markdown printer ( #15656 )
2023-11-14 15:09:49 +08:00
Pierre-Marie Dartus
a8bf66ae63
Remove unused findParentDir ( #15651 )
...
Drop unused dependency
2023-11-13 15:29:33 +08:00
fisker Cheung
8158a8948a
Remove overrideLocEnd ( #15645 )
2023-11-13 11:39:22 +08:00
Sosuke Suzuki
eebf0e4b5e
Bump Prettier dependency to 3.1.0
2023-11-13 12:00:57 +09:00
renovate[bot] and fisker
6a1d4096b9
chore(deps): update dependency eslint-plugin-regexp to v2 ( #15521 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: fisker <lionkay@gmail.com >
2023-11-13 01:50:35 +08:00
fisker Cheung
52375f57eb
Revert "Switch kRegex to use RegExp with u directly" ( #15643 )
2023-11-13 01:02:22 +08:00
fisker Cheung
250e263408
Switch kRegex to use RegExp with u directly ( #15584 )
2023-11-13 00:25:23 +08:00
fisker Cheung
ff57f5064d
Fix @for angularControlFlowBlock ( #15620 )
2023-11-12 23:56:56 +08:00
fisker Cheung
b92e4c5380
Simplify angular control flow syntax print ( #15619 )
2023-11-12 22:42:37 +08:00
fisker Cheung
c433415d42
Fix formatting of "angularControlFlowBlock" in span ( #15615 )
2023-11-12 22:36:43 +08:00
fisker Cheung
22c423933c
Refactor angular control flow block ( #15614 )
2023-11-12 22:15:30 +08:00
fisker Cheung
cd7931f479
Minor refactor ( #15617 )
2023-11-12 21:57:13 +08:00
0176a33db4
Support angular control flow ( #15606 )
...
Co-authored-by: dweizhe <d.weizhe@anyong.com.tw >
Co-authored-by: fisker <lionkay@gmail.com >
2023-11-12 20:01:30 +08:00
fisker Cheung
b26efbc98f
Skip comment attach when parse JSON ( #15583 )
2023-11-03 20:22:12 +08:00
fisker Cheung
a97e0b9483
Update glimmer to v0.85.8 ( #15577 )
2023-11-03 19:37:52 +08:00
fisker Cheung
36d1b8b09d
Fix babel error message ( #15581 )
2023-11-03 19:35:55 +08:00
fisker Cheung
d3fbb24fb5
Switch eastasianwidth to get-east-asian-width ( #15566 )
2023-10-30 02:57:04 +08:00
SUZUKI Sosuke
1d45bce625
Consistently format strings containing escapes ( #15525 )
2023-10-29 21:52:38 +09:00
SUZUKI Sosuke
f852b8010e
Improve formatting for assignment its left can break ( #15547 )
2023-10-28 14:29:17 +09:00
Seiya
c609058fd3
Support (type) satisfies never; ( #15514 )
2023-10-16 16:04:28 +09:00
4aa5fd1c79
New Ternary Formatting: A Curious Case of the Ternaries ( #13183 )
...
Co-authored-by: Alex Rattray <rattrayalex@stripe.com >
Co-authored-by: Sosuke Suzuki <aosukeke@gmail.com >
2023-10-09 10:44:30 +09:00
SUZUKI Sosuke
4b432496df
Support deferred import evaluation and source phase import syntax ( #15487 )
2023-10-09 08:52:48 +09:00
ADTC
7e67e43061
Show (unchanged) keyword for accessibility in CLI --write ( #15467 )
2023-10-09 08:40:28 +09:00
SUZUKI Sosuke
edfe46051f
Support optional chaining assignment ( #15488 )
2023-10-09 08:36:11 +09:00
Vivek Joshi and fisker Cheung
d4d4b185e0
Fix: Encoding < and > in markdown urls ( #15400 )
...
Co-authored-by: fisker Cheung <lionkay@gmail.com >
2023-10-02 18:00:02 +08:00
Lucas Santos
f4491b1274
Fix name case of selectors in styled components interpolation ( #15472 )
2023-09-30 15:57:53 +09:00
Luca Casonato and fisker Cheung
b78d7c7d2d
Disambiguate unary expr in instanceof and in ( #15468 )
...
Co-authored-by: fisker Cheung <lionkay@gmail.com >
2023-09-28 14:56:55 +08:00
SUZUKI Sosuke
fa8cb85434
Support type arguments after typeof ( #15466 )
2023-09-28 12:57:38 +09:00
liuxingbaoyu
c140ed6b53
Fix type definitions for v3 ( #15464 )
2023-09-27 22:43:58 +09:00
SUZUKI Sosuke
9f06cdd5b0
Process files only supported by plugins ( #15433 )
2023-09-25 14:45:01 +09:00
Alex Rattray and Alex Rattray
f25a592f57
Add indentation back to nested ternaries ( #9559 )
...
* Add indentation back to nested ternaries (except JSX)
* Add a real-world test case
* Add changelog entry
---------
Co-authored-by: Alex Rattray <rattrayalex@stripe.com >
2023-09-24 15:13:00 -04:00
Tatsunori Uchino
0661f78a26
Don't split lines between Japanese kana & COMBINING KATAKANA-HIRAGANA (SEMI-)VOICED SOUND MARK ( #15411 )
...
* Don't split lines between Japanese kana & COMBINING KATAKANA-HIRAGANA (SEMI-)VOICED SOUND MARK
* Add changelog
2023-09-22 22:30:30 +09:00
Sam Zhou
6bff776efd
Support type arguments on jsx opening elements for flow ( #15429 )
2023-09-20 00:35:18 +09:00
Alex Rattray
77310c49ea
Refactor simple member expressions etc ( #15423 )
2023-09-17 23:30:18 +09:00
SUZUKI Sosuke
4169dbb871
Fix printing comment for the last operand of union types ( #15409 )
2023-09-16 21:52:02 +09:00