prettier/prettier-emacs

Nice work

ttmarek opened this issue ยท 3 comments

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 or prettier.config.x. But, for now, this does the trick nicely.

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?