Open ttmarek opened 6 years ago
That's something many people complain about, a PR would be really appreciated!
Maybe you can try using https://github.com/codesuki/add-node-modules-path to use your node_modules/.bin/prettier
, I'm not sure if that will force it to read the configuration from the json file though.
Another user commented an usage example in a previous issue. I updated the readme in case you find it useful.
It should pick up package.json
now, maybe Prettier is out of date?
This isn't really an issue, just wanted to say thanks for making this. It works really well for me. 👍 🥇
Only thing I might make a pull request for in the future is for it to read the prettier config from
package.json
orprettier.config.x
. But, for now, this does the trick nicely.