Commit Graph
2820 Commits
Author SHA1 Message Date
fisker Cheung 02200375bc Print declare before accessibility in class properties (#16731) 2024-10-18 21:13:39 +08:00
fisker Cheung d973283c16 Fix space between class heritage and class body (#16730) 2024-10-18 21:12:30 +08:00
fisker Cheung b19139acb7 Support TLA for typescript parser (#16729) 2024-10-18 21:11:55 +08:00
Tatsunori UchinoandSUZUKI Sosuke 0a4c1e303f Markdown: Don't break a line at the place around Chinese or Japanese characters (#16691)
Co-authored-by: SUZUKI Sosuke <aosukeke@gmail.com>
2024-10-18 15:03:09 +08:00
43feccbf37 Fixed wrong trailing comma position after comment in scss (#16617)
Co-authored-by: fisker Cheung <lionkay@gmail.com>
Co-authored-by: Cyrille David <dcyriller@users.noreply.github.com>
2024-10-10 16:15:00 +08:00
SUZUKI Sosukeandfisker 973f3b5940 Fix formatting of incomplete CSS value comments (#16583)
Co-authored-by: fisker <lionkay@gmail.com>
2024-10-10 13:15:06 +08:00
fisker Cheung ab00c1c919 Remove support for "importReflection" (#16705) 2024-10-08 22:03:37 +08:00
Fu YuchenandSUZUKI Sosuke 1ce5eeea77 Fix yaml comment in non-singleline items missing space before # (#16489)
Co-authored-by: SUZUKI Sosuke <aosukeke@gmail.com>
2024-10-01 20:54:46 +09:00
Seiya 94fa86e164 loosen computational complexty check for printing fill (#16708) 2024-09-30 15:37:36 +08:00
renovate[bot]andfisker c0f98f59f8 chore(deps): update dependency typescript to v5.6.2 (#16669)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: fisker <lionkay@gmail.com>
2024-09-29 17:58:15 +08:00
fisker Cheung 07b468917e Remove blank lines between imports (#16450) 2024-09-29 17:56:37 +08:00
fisker Cheung 4b9c16703c Remove support for DecimalLiteral (#16643) 2024-09-29 17:13:12 +08:00
Mark Ameryandfisker Cheung d28d40ac0c Reduce how much text needs to be diffed when computing cursor positions (#15709)
Co-authored-by: fisker Cheung <lionkay@gmail.com>
2024-09-27 21:35:32 +08:00
Tatsunori Uchinoandfisker Cheung a4be6a0fde Markdown: preserve non-ASCII whitespaces at the end of the line and beginning of the next line (#16619)
Co-authored-by: fisker Cheung <lionkay@gmail.com>
2024-09-27 21:07:12 +08:00
fisker Cheung 0f9a1aefee Rewrite tests for importing JSON (#16517) 2024-09-27 20:46:37 +08:00
fisker Cheung 69f419213e Revert "Pin Node.js to v22.6.0" (#16642) 2024-09-27 20:26:48 +08:00
6168d1e990 Removed excessive spaces after line prefixes for unordered lists in Markdown (#15526)
Co-authored-by: fisker <lionkay@gmail.com>
Co-authored-by: Alexander Kachkaev <alexander@kachkaev.ru>
2024-09-27 19:58:11 +08:00
Marcus Pettersen Irgensandfisker Cheung 5bb04801a2 Ignore files in the Jujutsu directory (#16684)
Co-authored-by: fisker Cheung <lionkay@gmail.com>
2024-09-27 19:53:37 +08:00
Seiya 14d7f1536f Fix rule of fill violations in utils and tests (#16656) 2024-09-27 17:59:35 +08:00
fisker Cheung 1bb69dfd13 Cleanup for meriyah parser (#16677) 2024-09-27 17:57:44 +08:00
fisker Cheung d2c415deae Update meriyah to v6 (#16667) 2024-09-18 19:48:57 +08:00
Seiya 3fd32a0258 Fix rule of fill violations in CSS (#16570) 2024-09-08 18:03:46 +08:00
renovate[bot]andfisker Cheung c067d27673 chore(deps): update babel to v7.25.6 (#16627)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: fisker Cheung <lionkay@gmail.com>
2024-09-01 02:24:50 +08:00
renovate[bot]andfisker Cheung 0a85cb07eb chore(deps): update dependency file-entry-cache to v9.1.0 (#16623)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: fisker Cheung <lionkay@gmail.com>
2024-08-31 05:22:14 +08:00
fisker Cheung 5cd15f2168 Fix SCSS parenthesized value group print (#16607) 2024-08-26 08:23:31 +08:00
Seiya c921abee76 Improve computational time complexity for printing fill() (#16595) 2024-08-24 08:23:59 +09:00
SUZUKI Sosuke 92253a3f40 Improve comment formatting for logical expression in unary expression (#16593) 2024-08-24 08:22:43 +09:00
fisker Cheung fb4fa9b532 Sort visitorKeys in test (#16606) 2024-08-24 01:21:13 +08:00
renovate[bot]andfisker 8eadf7188d chore(deps): update typescript-eslint to v8.1.0 (#16580)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: fisker <lionkay@gmail.com>
2024-08-20 00:24:20 +08:00
SUZUKI Sosuke f675f9f3c0 Don't print an extra line break for arrow function with type parameter in assignment (#16586)
* Dont print extra softline

* Update snapshot

* Add changelog
2024-08-19 11:05:32 +09:00
Seiya 33b0865f40 Correct invalid scss test input (#16579) 2024-08-17 01:29:50 +08:00
SUZUKI Sosuke f7cceb9be1 Preserve a comment between modifier and the decorated property name (#16578) 2024-08-16 13:12:24 +09:00
SUZUKI Sosuke bd3ad84c29 Preserve a comment on between decorator and modified parameter property (#16574) 2024-08-15 16:03:53 +09:00
SUZUKI Sosuke 1dfe28f857 Remove extra indentation in pseudo class function (#16572) 2024-08-14 09:52:53 +09:00
SUZUKI Sosuke 3cf3f5ac29 Make getPreferredQuote public (#16567) 2024-08-14 09:34:58 +09:00
SUZUKI Sosuke 44a35adfa8 Don't remove uselsess \ in string literals (#16563) 2024-08-14 07:53:22 +09:00
Seiya e977d65b19 Fix incorrect wrap in sentence with linkReference (#16546) 2024-08-10 00:27:47 +01:00
Sung Ye Inandfisker 61c45e3fb3 Add more tests for chain expressions (#16534)
Co-authored-by: fisker <lionkay@gmail.com>
2024-08-03 21:45:53 +08:00
Sung Ye Inandfisker Cheung 4a39c117d1 Handle exception in needs parens with optional chaining (#16500)
Co-authored-by: fisker Cheung <lionkay@gmail.com>
2024-07-27 15:11:27 +08:00
fisker Cheung c6ea73f93a Update test for --debug-print-ast (#16518) 2024-07-27 04:05:58 +08:00
fisker CheungandAlexander Kachkaev c60eb83d59 Stop mutate doc.parts when printing fill (#13315)
Co-authored-by: Alexander Kachkaev <alexander@kachkaev.ru>
2024-07-26 19:51:00 +08:00
fisker Cheung 407f1a0056 Switch @iarna/toml to smol-toml (#16497) 2024-07-26 19:38:07 +08:00
renovate[bot]andfisker 8768870c15 chore(deps): update dependency meriyah to v5 (#16508)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: fisker <lionkay@gmail.com>
2024-07-26 19:25:41 +08:00
renovate[bot]andfisker 06ece395be chore(deps): update dependency html-ua-styles to v0.0.8 (#16481)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: fisker <lionkay@gmail.com>
2024-07-16 19:40:47 +08:00
y-schneiderandfisker 9102b73d8c Add parentheses for decorator expressions (#16458)
Co-authored-by: fisker <lionkay@gmail.com>
2024-07-13 21:15:40 +09:00
SUZUKI Sosuke 5ca2fc9be8 Support Angular @let declaration syntax (#16474)
gmail.com>
2024-07-13 18:24:57 +09:00
renovate[bot]andfisker bfcfdccdf8 chore(deps): update babel to v7.24.8 (#16472)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: fisker <lionkay@gmail.com>
2024-07-12 16:15:45 +08:00
Christopher Dignamandfisker Cheung 988b43b72d Add parens for nullish coalescing in tenary (#16391)
* add parens for nullish coalescing

fix #4873

* add function

* Update tests/format/js/nullish-coalescing/nullish_coalesing_operator.js

Co-authored-by: fisker Cheung <lionkay@gmail.com>

* update snapshot

* add changelog entry

* fix typo

---------

Co-authored-by: fisker Cheung <lionkay@gmail.com>
2024-06-18 01:47:28 +01:00
fisker Cheung 6d265ec100 Use Array#findLastIndex (#16384) 2024-06-18 08:00:16 +09:00
fisker Cheung c03a12ad2b Enable require-unicode-regexp and regexp/strict rule (#16408) 2024-06-18 07:52:54 +09:00