Open coyotespike opened 6 years ago
When I save a JS file edited via Tramp, this error pops up in a new buffer:
prettier errors: [warn] Ignored unknown option: --ignore-path /sshx [error] Invalid configuration file: ENOENT: no such file or directory, scandir '/sshx:<serverName>/path/to/file
It would be great either to disable Prettier for files in Tramp mode, or to make it work.
I've solved this for my case using this small patch: https://github.com/prettier/prettier-emacs/pull/37. Example configuration is in the description. Hope that helps!
When I save a JS file edited via Tramp, this error pops up in a new buffer:
It would be great either to disable Prettier for files in Tramp mode, or to make it work.