Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to play nice with Tramp-Mode #33

Open
coyotespike opened this issue May 4, 2018 · 1 comment
Open

How to play nice with Tramp-Mode #33

coyotespike opened this issue May 4, 2018 · 1 comment

Comments

@coyotespike
Copy link

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.

@bhagany
Copy link

bhagany commented Jun 11, 2018

I've solved this for my case using this small patch: #37. Example configuration is in the description. Hope that helps!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants