Replies: 5 comments 2 replies
-
I got a similar problem and used For example, this will ignore everything inside
|
Beta Was this translation helpful? Give feedback.
-
You have mentioned it yourself, @Sh031224, that this is not really an "installation" process, so I don't think that this feature is necessary and beneficial. If you are not really worried about modifying these files, then why not just run prettier ? You could even run multiple commands sequentially (one after the other) with "&&", as the following example will illustrate:
|
Beta Was this translation helpful? Give feedback.
-
I thought I would just add a custom {
"singleQuote": false,
"semi": false,
"trailingComma": "es5"
} Then I had to add the UI folder to the |
Beta Was this translation helpful? Give feedback.
-
As @birdzai mentioned, from my experience it's better to add these files to The formatting of the files should NOT be changed. |
Beta Was this translation helpful? Give feedback.
-
Ideally, shadcn diff command would accept a prettier config to apply to its source before diffing with ours. |
Beta Was this translation helpful? Give feedback.
-
Do you have a plan to apply prettier for each project to the ui component created with the cli?
Every time a new file is created, I have to manually save it again in the IDE.
It's a minor, but quite annoying factor.
Beta Was this translation helpful? Give feedback.
All reactions