Alexander Kachkaev

Results 463 comments of Alexander Kachkaev

@rupanjanas feel free to create a PR with updated docs and link to it here. Somewhat related: https://github.com/prettier/prettier/pull/15749 (not docs).

Could be OK in a new major version, especially together with https://github.com/prettier/prettier/issues/3806. Something like: ```js { { const shouldNotPrintColon = isNgForOf(node, index, parentNode) || ( ( ( index === 1...

This PR is against `main` branch, I guess it needs to be repointed to `next`.

@borekb you can make tab width = 4 in your markdown files while everything else uses 2: ```js { "tabWidth": 2, "overrides": [ { "files": "*.md", "options": { "tabWidth": 4...

Ah I see now. I thought you wanted to have four spaces everywhere, but use two in markdown files.

I wonder if we should postpone this change till v4.* – that can make potential workflow breakages a bit more expected.

Related to #3199

👋 @nwalters512! Would adding `.default` work in your runtime? It helps with the types: ```ts async function prettier() { const prettier = await import('prettier/standalone'); const prettierBabelPlugin = (await import('prettier/plugins/babel')).default; const...

It might be to do with ES Module interop in TypeScript / tsx / the rest of the ecosystem. I once bumped into a similar odd issue when `await import`...

@guttermouth99 have you found a solution? It'd be great to have some simple way of allow-listing certain get params without having to do anything complex like described in https://plausible.io/docs/custom-query-params.