How to use the "editorconfig" in a .prettierrc in v3.0.3 #15603
-
I have prettier v3.0.3 and this
But when I run "prettier:fix" I get this warning: Whats wrong here? StackOverflow: https://stackoverflow.com/questions/77436681/how-to-use-the-editorconfig-in-a-prettierrc-in-v3-0-3 |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
I suspect that you might be getting confused by the prettier API's option for https://prettier.io/docs/en/api.html#prettierresolveconfigfileurlorpath--options |
Beta Was this translation helpful? Give feedback.
-
You cannot use the |
Beta Was this translation helpful? Give feedback.
You cannot use the
editorconfig
option inside.prettierrc
. Prettier use.editorconfig
as the configuration file if.prettierrc
does not exist and a.editorconfig
file exists.