automd icon indicating copy to clipboard operation
automd copied to clipboard

Use prettier config when formatting

Open BayBreezy opened this issue 1 year ago • 3 comments

Describe the feature

Hello,

I think it would be nice if automd had an option where i could tell it where my prettier config file is so that it can use it when printing the contents of a file.

Additional information

  • [ ] Would you be willing to help implement this feature?

BayBreezy avatar Dec 14 '24 13:12 BayBreezy

We could at least expose a way to configure prettier via auomd.config file for transformers (since formatting tools are opinionated).

Which generator are you thinking needs this formatting?

pi0 avatar Dec 15 '24 20:12 pi0

Any method that gets the job done is fine by me. We want something that won't break stuff or get in the way of ppl who don't care for such a feature.

I think the file & jsdocs generators would benefit the most from something like this

BayBreezy avatar Dec 16 '24 04:12 BayBreezy

Hey @pi0 ,

I am not sure if anything changed recently but I am not having this issue anymore.

The styles stay the same for files.

Thank you.

BayBreezy avatar Mar 11 '25 15:03 BayBreezy