You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
$ prettier-eslint --help
Usage: prettier-eslint <globs>... [--option-1 option-1-value --option-2]
Options:
# ...
--prettierPath The path to the prettier module to use
Seems like a pretty significant issue. Thank you for filing this. I'll get to it when I have the time. In the meantime, if you'd like to dig deeper to see why you're getting that error (and propose a solution to fix it, and even makeapullrequest.com?), that would be really helpful. Thanks!
TL:DR;
Docs say
prettier-path
is an option.prettier-eslint --help
saysprettierPath
is the option.Both options throw an error:
Question:
I take it some combination of these should be true:
--help
should conform.What's the right option? Incidentally,
--write
actually seems to work in both cases. Just throws an error.To reproduce:
npm i -g prettier-eslint-cli prettier
// put the tools somewhere elsegit clone https://github.com/joefraley/test-prettier && cd test-prettier && npm i
// get an mvp repo with an eslint config and a test filenpm start
// run cli with a defined pathgit diff
// see that the file was changedThe text was updated successfully, but these errors were encountered: