fisker Cheung

Results 335 issues of fisker Cheung

> having same issue here. just to add more example (issue is present on non calculated values as well) > > > > **Input:** > > ```less > > @sidebarMainPaneTopOffset:...

lang:less

## Description For stable version: - Use CDN - Support @prettier/plugin-hermes and @prettier/plugin-oxc For pull request: - Same as before ## Checklist - [ ] I’ve added tests to confirm...

In #10018, the issue was asking to improve the visual separation between the class head and body. [Two solutions](https://github.com/prettier/prettier/issues/10018#issuecomment-762188034) were proposed during the discussion. ```ts // 1 class loooooooooooooooooooong extends...

lang:typescript

Currently, we do a postprocess step after parsing, it's necessary to fix some AST issues. https://github.com/prettier/prettier/blob/main/src/language-js/parse/postprocess/index.js This step is not efficient, benchmark shows it takes as much time as the...

type:refactor

## Description ## Checklist - [ ] I’ve added tests to confirm my change works. - [ ] (If changing the API or CLI) I’ve documented the changes I’ve made...

do-not-merge

## Description ## Checklist - [ ] I’ve added tests to confirm my change works. - [ ] (If changing the API or CLI) I’ve documented the changes I’ve made...

## Description ## Checklist - [ ] I’ve added tests to confirm my change works. - [ ] (If changing the API or CLI) I’ve documented the changes I’ve made...

**Prettier 1.18.2** [Playground link](https://prettier.io/playground/#N4Igxg9gdgLgprEAuEAzCAnABACgNx4CUwAvgDpTrY4CWUNMNAhgDY0BecBx5lmueSFAAmDGtCKkKVAXjpgMcJgGc4ynhSwgANCAgAHRtGXJQTDBggB3AArmEJlEwBuEGsJ0gARhiZgA1nAwAMr6fnQA5sgwGACucLoAFjAAtiwA6okMamFgcMEOYs4MAJ7I4MomunSqGDA2vhEpTMiorKq6AFbKAB4AQr4BQcFMKXAAMnRwre0JIN09wZEscACKsRDwMywdIGEYteVeTF5wLJ76GHQw6e4wicgAHAAMupcQqum++uWXanAYZzTXQARw28AaBkcIBUAFooHA4MIkZ5FGCaIoGkwmi0kG0dnNVCkaNE4oTlmtwdM8bNdDATrdhPdkAAmOm+GhsKARADCEBSzXKUGgwJAsVUABUTo58aoSCQgA) ```sh --parser babel ``` **Input:** ```js for (;;){} for (initialize;;){} for (;condition;){} for (;;increases){} ``` **Output:** ```js for (;;) {} for (initialize; ; ) {} //...

status:needs discussion
lang:javascript

**Prettier 3.6.2** [Playground link](https://prettier.io/playground/#N4Igxg9gdgLgprEAuEAeADgPgDpQAR7AAmAhjCQPwB0AtiegBQOkwCuNANHgJZRFwAPAJR4AvJjyoANtzwBrOAE9RwXvwEBfTMTLsA2gGcIrAE5g4AXQ2oA9DMxCNuW1hAcQEdDG7QDyUCQmJhAA7gAKgQh+KCRSISSKfu4ARiYkYAowAMokNHAAMrxwyABmsQZw7hDJAFZwYDAA6mnoyCDoJnAVJgBuxSlpGXDZ6Om8AObIMCaslSAVNNxTM3OC6HAm3HmwsQDy62kwECZhEAbc3tBtCERuIGsbWwjkUgAqG1CB3F2l5XPnUHGUjgAEVWBB4L8pBV3DUDAIshNgWCIcUkGVoXMAI7g+BhYLoaIgEgGAC0UDgcH4t3c0xI3BkgIAwhAaHQ2rEpHcAUC4ABBGDTbjJVh4jaFClQmEgAAWMBoUkaMouXVG5iyUQu3B6F0UbTABiSIB6swAknxnlkwJsvHy+FkYIpgVK5h0znBmvQ2h0uhs+ndeN0YPiSON2ei-u5RiZum1kiRknAuVHNrBGtwiDAZcgABwABncnRx3E6IbDJBdtIT6cz2aQACZ3KwKq8E9EMdK4DRE0RqfkSIDWKG4AAxY50QUTDmiiAgDQaIA) ```sh --parser babel ``` **Input:** ```jsx {data?.map((datum, index) => {datum[source]})} ``` **Output:** ```jsx {data?.map((datum, index) => ( {datum[source]} ))} ; ``` **Expected output:** ```jsx {data?.map((datum, index)...

status:needs discussion
lang:jsx

## Description Fixes https://github.com/prettier/prettier/issues/18136 ## Checklist - [ ] I’ve added tests to confirm my change works. - [ ] (If changing the API or CLI) I’ve documented the changes...

do-not-merge