Commit Graph
566 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
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
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
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
fisker Cheung 5cd15f2168 Fix SCSS parenthesized value group print (#16607) 2024-08-26 08:23:31 +08:00
SUZUKI Sosuke 92253a3f40 Improve comment formatting for logical expression in unary expression (#16593) 2024-08-24 08:22:43 +09: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 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 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
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
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
renovate[bot]andfisker c3d0b7f419 chore(deps): update typescript-eslint to v7.13.0 (#16376)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: fisker <lionkay@gmail.com>
2024-06-11 11:30:23 +08:00
adcbc8bedb Fix handlebars path expressions starts with @ (#16358)
Co-authored-by: prince.yadav <prince1.yadav@tataaig.com>
Co-authored-by: fisker <lionkay@gmail.com>
2024-06-11 10:08:12 +08:00
renovate[bot]andfisker d8d4732e52 chore(deps): update dependency meriyah to v4.4.4 (#16357)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: fisker <lionkay@gmail.com>
2024-06-06 14:46:46 +08:00
fisker CheungandAlexander Kachkaev efc3d053ac Avoid line breaks in import attributes (#16349)
Co-authored-by: Alexander Kachkaev <alexander@kachkaev.ru>
2024-06-05 17:01:58 +08:00
fisker Cheung ddce4fb95c Move import attribute unquote test to a separate directory (#16350) 2024-06-04 18:18:12 +08:00
fisker Cheung b94811f988 Fix stripTrailingHardline (#16347) 2024-06-04 17:33:09 +08:00
fisker Cheung 590644170e Preserve explicit language in front matter (#16348) 2024-06-04 17:32:50 +08:00
fisker Cheung b26f56bd31 Update eslint-plugin-unicorn to v53 (#16275) 2024-06-04 09:39:19 +08:00
fisker CheungandSosuke Suzuki 8a88cdce6d Respect trailingComma in angular templates (#15926)
Co-authored-by: Sosuke Suzuki <aosukeke@gmail.com>
2024-05-29 00:41:49 +09:00
Martijn Atema 41f1dffed0 Add newline between markdown footnote definitions (#16063) 2024-05-25 09:15:39 +08:00
George Zaharievandfisker Cheung fb9f2c1778 Flow: add support for 'implies' type guard variant (#16272)
Co-authored-by: fisker Cheung <lionkay@gmail.com>
2024-05-11 09:03:55 +08:00
George Zahariev 5a51577428 Flow: add support for inexact tuple types (#16271) 2024-05-11 09:03:13 +08:00
fisker Cheung 26f1cd924e Fix dynamic import when the module source is a template literal (#16267) 2024-05-11 09:02:24 +08:00
fisker Cheung 55181669c5 Always enable recordAndTuple (#16264) 2024-05-11 09:01:35 +08:00
George Zahariev 105bb7beff Flow: add support for bigint enums (#16268) 2024-05-09 11:26:13 +08:00