Vincent Rubinetti

Results 268 comments of Vincent Rubinetti
trafficstars

Wasted several hours of my life thinking I was doing something wrong. Turns out Prettier just hasn't worked for a pretty significant length of time. Related: #3071 #3224 #3142 FYI,...

Here's another algorithm for detecting the delimiter that seems like a good idea: https://stackoverflow.com/a/19070276/2180570

Is there any solution to this, even just a way to make a prettier lint check or in-IDE check not fail? I tried `// prettier-ignore`, `// sort-imports-ignore`, `// @eslint-disable-next-line`, using...

Indeed, I'll try to get back to you with a minimum reproducible example soon. I was just wondering if you could spot any errors in my config above or your...

Here is a minimal reproducible example: [repo.zip](https://github.com/daidodo/format-imports/files/11435954/repo.zip) First, `cd` into `/frontend`. I want to format `/src`, `/e2e`, `/unit`, but NOT `/node_modules`. This works, if I just want to format `/src`:...

So, to sum up: I think this: Should support multiple directories like this does: **AND** `"exclude": ["node_modules"]` seems to not work. I'm not sure if it formats `node_modules`, but it...

> For 2, it's a design decision to support single directory because you can't specify `-o` if there are multiple directories. The workaround is `format-imports dir1/ && format-imports dir2/ &&...

For what it's worth, I ended up switching to a prettier plugin for this, `@ianvs/prettier-plugin-sort-imports`. It works really well for me, integrating into a tool I'm already using for formatting...

Related discussion: https://github.com/hosseinmd/prettier-plugin-jsdoc/discussions/200 It seems like plugin-jsdoc is taking into account other plugins and trying to preserve their modifications, whereas plugin-sort-imports is not, because I have to put jsdoc after...

Maybe another one of those big red buttons that just says "manifesto" or "our manifest" along with an appropriate font awesome icon: https://fontawesome.com/icons/bullseye?style=solid