Closed playahater closed 4 years ago
I'm also getting this issue and would love to be able to have a global config that applies as the base default. @playahater did you ever find a solution to this?
@keyboard-clacker unfortunately not. Doing manual copy of the rc file in the project root.
Prettier isn't going to support any kind of global configuration. See https://github.com/prettier/prettier/issues/8094#issuecomment-616444163
Environments:
Steps to reproduce:
Expected behavior: The configuration options should be loaded from the user's home directory and written to a file.
Actual behavior: The configuration options are not loaded. Prettier default ones are used instead.
So i tried using vim-prettier [ which actually uses prettier config resolver ] and using cli outside of vim and got the same results.
Am I i doing something wrong or this feature is not supported anymore ? Or it never was ? If i copy the configuration from user's home to a project root, everything works as expected.
Any feedback is more than appreciated in advance.