-
-
Notifications
You must be signed in to change notification settings - Fork 292
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
forbidding --fix with --stdin makes it incompatible with vim-autoformat #163
Comments
I just followed ESLint's lead, but in hindsight it doesn't make sense. Added in #164. Please try it out and report back :) |
@sindresorhus Just tried your |
@gautaz Cool. Would you be willing to submit a short instruction on how to use the VIM autoformat and XO? Here: https://github.com/sindresorhus/xo#vim |
Done in #165, hope it is enough. |
XO already handles that. If you call the global XO binary and there's one in your project, it will defer to that one instead. |
Gosh! If only all linters could do that ;-). |
vim-autoformat documentation states:
I guess this limitation (forbidden
--fix --stdin
) comes fromeslint
but I still ask in case there is anything that can be done to work around the limitation onxo
's side.The text was updated successfully, but these errors were encountered: