prettier-emacs icon indicating copy to clipboard operation
prettier-emacs copied to clipboard

Nice work

Open ttmarek opened this issue 7 years ago • 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.

ttmarek avatar Feb 15 '18 03:02 ttmarek

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.

rcoedo avatar Feb 15 '18 08:02 rcoedo

Another user commented an usage example in a previous issue. I updated the readme in case you find it useful.

rcoedo avatar Feb 15 '18 08:02 rcoedo

It should pick up package.json now, maybe Prettier is out of date?

nickserv avatar Feb 28 '18 17:02 nickserv