You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
While working on a PR, I noticed that when I ran yarn prettier prettier was applying formatting rules different from those in the .prettierrc config file (for example, Double Quotes instead of Single Quotes).
Upon closer inspection, I noticed that the wrong version of prettier was being used:
./node_modules/.bin/prettier --version
// 1.5.2
I think that the .prettierrc configuration file feature was introduced in version 1.6.0, so I think that's the reason the file is being completely ignored. When I run yarn prettier I also get this warning: Ignored unknown option: --config
The text was updated successfully, but these errors were encountered:
While working on a PR, I noticed that when I ran
yarn prettier
prettier was applying formatting rules different from those in the.prettierrc
config file (for example, Double Quotes instead of Single Quotes).Upon closer inspection, I noticed that the wrong version of prettier was being used:
I think that the
.prettierrc
configuration file feature was introduced in version 1.6.0, so I think that's the reason the file is being completely ignored. When I runyarn prettier
I also get this warning:Ignored unknown option: --config
The text was updated successfully, but these errors were encountered: