-
-
Notifications
You must be signed in to change notification settings - Fork 37
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix: Prettier v3 and up resolveConfig broken #97
base: main
Are you sure you want to change the base?
Conversation
Hey, sorry for the late reply. Are you sure this doesn't break prettier configs that are specified in package.json files for example? |
Okay interesting. It seems like the resolveConfig method wants the path to the source file in question. Maybe we can pass in the destination path for the generated file here instead of |
how about just calling resolveConfig() without parameter ? I tested on my end and it works. |
I don't understand this, don't you want to pass user's project prettier config file into resolveConfig ? |
@wikes82 If I understand correctly they want the path to the file that prettier is meant to be run on. That is the path to the .ts source file. If calling |
Yes, passing the generated files folder path works too. |
Would be useful if we could skip prettier formatting altogether. This step is taking out 3-4s of our build pipeline. Wdyt @valtyr? |
Fix for issue #94