fisker Cheung

Results 1275 comments of fisker Cheung

Smaller **Prettier 3.6.2** [Playground link](https://prettier.io/playground/#N4Igxg9gdgLgprEAuEB6VACAEgQwM4YwQYBGcGOGABgMpwCOArgmHAKIAeADgE5x54AltCoAdKDgA04gGYBmAHQBzODAAUMAJQK8qtQBtJwPJC5wkMSQFtVACwgATAHI4bSQwgdcIg2ABE4GRxGfRg8JAdJBzhIHhwYYShwqWjY+MTkgF9NcRBJEAguBOg8ZFAcHh4IAHcABQqEUpQcfWqcAE9S-JI4sABrVRpXOAAZXzhkIP1dfIgSACsYmAB1OK5kEF5+OB4ANwnu3oGYGi4cMF8lZBgeZnzdK0Fr27h8uG4dwRtYFoB5MziRB4tQgQmKUA2njyIHeAK+CBgLQAKjsJDxBPxJi0ZiAhFAlPo4ABFRgQeBY6avEDzPAcGiXQkkskTJBTHFMZm1KpcJogfAAWigcDg0Qc0JuOEE+kuAGEIFYrDgNi19NC8QS4ABBGA3QQkRjwWo7MZCik42wwKz6Za2QTwPBnVh0JJ2wS7O3tDZgATQ3bMACSUGisBoYHRRU1QZoMHahLNVN4oLgqxw6xQW10ewOIF8mZgXJwSkV8fyZx4mY2JBwZFVpfRsGWggcMFsyAAHAAGfJ8JiCPgFotK1nYqmIkiN5utpAAJnyjF0SOrTTZVLgVjIDlFIxw+MYhbgADEIDxFTrLsqDRAQJlMkA) ```sh --parser babel ``` **Input:** ```jsx // Has to be a `SequenceExpression` a, f3.get(t).set(l,{scope:t,methodName:l,endpointDefaults:d,decorations:a,decorations:a}) ``` **Output:** ```jsx // Has to be a `SequenceExpression` (a, f3...

Find the problem, https://github.com/prettier/prettier/blob/0d9371fb4587a8f77292f4c80ae4d8d1d98202bf/src/language-js/print/call-arguments.js#L167 First format thinks the object argument won't break, but it did. No idea how to fix it.

Sorry for misleading, this is not about plugin loading. Just a reminder for string format.

I don't have an explanation; if I do, I'll have already released a fix. Useful information can help.

@rbubley @JoC0de, mentioning you because #15742 mentioned that you both are maintaining forks that only runs the released version (ignore me if I'm wrong).

If `@typescript-eslint.io/no-useless-empty-export` already exists, would you consider disable `require-module-specifiers` for TS files?

Just to be clear, 1. This exception should only apply to `.ts` files. 2. Only allow `export {}` if there are no other value exports. Correct?

If someone want look into this issue, the problem is cause by this line https://github.com/prettier/prettier/blob/0b6877b5fedb2abe83c0c89d0ce8c7da3249d90e/src/language-js/parse/postprocess/index.js#L123-L130, but I'm not sure how to solve.

Maybe reconsider https://github.com/prettier/prettier/pull/12563

> I believe that from the JS parser's POV, those empty lines with semicolons are their own statements. No, you are wrong. ``` let a = 1, b = 2...