Nick McCurdy

Results 345 comments of Nick McCurdy

This is still an issue and the associated pull request is still active

Could we add an option to allow automatic formatting for `JSON.parse` literals as well? Rationale and examples in #7043. If possible I'd also like some sort of mode that automatically...

@Coder-256 Prettier now formats this onto one line. ```js const foo = html`test`; ``` Does that fix your issue?

I don't think sharing ignored files would be a good practice, as ignored files tend to vary more based on a project's tooling usage than its style guide, and we...

I can look into implementing this if anyone's interested, but I figured I should give an explanation and get some feedback before intentionally removing a formatting feature.

That's good, can we enable it by default and have it regardless of line length? There should still be an option to disable it though.

So you’re suggesting we remove it entirely or just fix CJK?

I don’t use Asian languages myself, but as far as I’m aware each kanji/other character may be counted as a different number of characters, so it could be an issue...

It seems like this is the same issue I'm having where Prettier is making assumptions about character width in the font I'm using. Both with proportional fonts and CJK fonts,...

> I have an idea, how about auto disable align when CJK detected. What if there's only a small amount of CJK characters in the file? In this case I...