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
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
SUZUKI Sosuke
0ba2d693ba
Fix unstable and ugly formatting for comments in destructuring patterns ( #15708 )
2023-11-24 00:56:14 +09:00
fisker Cheung
1759f5bd98
Fix changelog ( #15703 )
2023-11-23 10:52:30 +08:00
fisker Cheung
e4a74c05f4
Fix argument passed to lilconfig.search() ( #15363 )
2023-11-16 01:05:57 +08:00
Sosuke Suzuki
a3e1be82b6
Clean changelog
2023-11-13 12:04:23 +09:00
SUZUKI Sosuke and fisker Cheung
62d0c22638
Add 3.1 blog post ( #15503 )
...
Co-authored-by: fisker Cheung <lionkay@gmail.com >
2023-11-13 12:01:29 +09: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
1a00467677
Fix error when formatting file names contains square brackets or dots ( #15597 )
2023-11-07 10:25:24 +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
ADTC
7e67e43061
Show (unchanged) keyword for accessibility in CLI --write ( #15467 )
2023-10-09 08:40:28 +09:00
SUZUKI Sosuke
14ddf452c4
Update @babel/parser to 7.23.0 ( #15485 )
2023-10-08 22:26:13 +08: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
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
SUZUKI Sosuke
4169dbb871
Fix printing comment for the last operand of union types ( #15409 )
2023-09-16 21:52:02 +09:00
SUZUKI Sosuke
c041f3fb4f
Support embedded formatting in template literals annotated with as const ( #15408 )
2023-09-16 21:42:17 +09:00
George Zahariev
675490ae55
Support as and satisfies expressions for Flow ( #15130 )
2023-09-16 17:28:18 +09:00
fisker Cheung
6c833b4445
Support URL as ignorePath in getFileInfo() ( #15364 )
2023-09-14 20:10:10 +08:00
fisker Cheung
bf7d90ae84
Switch html-styles to html-ua-styles ( #15334 )
2023-09-14 09:45:15 +08:00
auvred
7c512651f8
Do not split call of scss function with leading dash ( #15370 )
...
* Do not split call of scss function with leading dash
* add changelog
* apply check only for scss parser
* Revert "apply check only for scss parser"
This reverts commit 378bf1ac11830ff22c922efbd10c322ed573a31e.
* add more test cases
* use test case from original issue
2023-09-13 21:46:22 +09:00
fisker Cheung
b2c33a4cec
Accept URL in getFileInfo ( #15360 )
2023-09-06 15:49:22 +08:00
fisker Cheung
7e45a92707
Accept URL in resolveConfig ( #15354 )
2023-09-06 14:54:36 +08:00
fisker Cheung and SUZUKI Sosuke
56752e00e5
Accept URL in resolveConfigFile ( #15332 )
...
Co-authored-by: SUZUKI Sosuke <aosukeke@gmail.com >
2023-09-04 19:59:42 +08:00
fisker Cheung
411ef345a2
Fix comment between parentheses and function body ( #15326 )
2023-09-02 09:18:15 +08:00
fisker Cheung
958b355ccb
Fix comment around TSParameterProperty ( #15324 )
2023-09-02 09:16:36 +08:00
Sosuke Suzuki
28578bf0a3
Clean changelog
2023-08-29 21:32:11 +09:00
fisker Cheung
a35008fb0a
Support shared config that forbids require() ( #15233 )
2023-08-29 16:11:43 +08:00
SUZUKI Sosuke and fisker Cheung
1ce97d13a3
Support TypeScript 5.2 using / await using declaration ( #15321 )
...
* Update `@typescript-eslint` packages
* Install `typescript`
* Tweaks snapshot tests
* Tweaks error files
* Add tests for `using` with types
* Add changelog
* Update misc tests
* Update snapshots
* Revert misc tests and remove `typescript`
* Update changelog_unreleased/typescript/15321.md
Co-authored-by: fisker Cheung <lionkay@gmail.com >
* Fix file name typo
* Keep valid file
* Update tests
* Update changelog_unreleased/typescript/15321.md
Co-authored-by: fisker Cheung <lionkay@gmail.com >
* Remove non-existing filenames.
---------
Co-authored-by: fisker Cheung <lionkay@gmail.com >
2023-08-29 15:51:50 +09:00
fisker Cheung
7d56bc8752
Add preferUnplugged: true to package.json ( #15169 )
2023-08-28 10:25:36 +08:00
SUZUKI Sosuke
90fab608ae
Do not print trailing commas in arrow function type parameter lists in ts code blocks ( #15286 )
...
* Remove trailing comma for `ts` code blocks
* Add changelog
* Support `typescript`
* Update link
* Update tests
2023-08-24 17:02:56 +09:00
fisker Cheung
f75f717c4e
Allow break require() argument ( #15256 )
2023-08-23 15:58:06 +09:00
Sosuke Suzuki
b35d6f6612
Remove changelog
2023-08-16 00:47:18 +09:00
SUZUKI Sosuke
1b0c756bd6
Print declare and export keywords for nested namespace ( #15249 )
2023-08-15 22:38:07 +09:00
auvred
8a3e73c6c0
Do not add trailing comma for grouped scss comments ( #15217 )
...
* Do not add trailing comma for grouped scss comments
* add changelog
2023-08-11 18:44:05 +09:00
Seiya
bf0b3040be
Break after equal on assignment if rhs is await/yield expression ( #15204 )
...
* add as-is test
* break after equal on assignment if rhs is wait
Discussion: #15196
* rename test file
* add as-is test
* treat YieldExpression
* add tests
* add changelog
* fix a bug
* add test for delegated yield
2023-08-06 13:02:40 +09:00
Sosuke Suzuki
75ac271661
Clean changelog
2023-08-03 15:12:46 +09:00
fisker Cheung
29854ca8da
Fix comments print in IfStatement ( #15076 )
2023-07-29 10:01:46 +08:00
Ray and fisker Cheung
2b9efd5bf1
fix: add missing printer.preprocess definition ( #15123 )
...
* fix: allow preprocess to return a promise
* fix: types
* chore: format
* chore: changelog
* Update changelog_unreleased/api/15123.md
Co-authored-by: fisker Cheung <lionkay@gmail.com >
* apply changes
* Update 15123.md
* Update 15123.md
* Simplify changelog
---------
Co-authored-by: fisker Cheung <lionkay@gmail.com >
2023-07-22 01:45:15 +09:00