-
Notifications
You must be signed in to change notification settings - Fork 71
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
jsfmt diff #13
Comments
Nope, not desired, good catch. |
I think this is the last known issue. Going to resolve it real quick then bump the npm version. I'll post it as a PR so its all out in the open now that jsfmt is public. |
One last thing I wanted to ask, should it be |
Yah, I can get behind that. One reason I went with no default action is discoverability of other options but I think familiarity with gofmt is part of the draw towards jsfmt. |
Adding --help might... "Help"
|
Haha, well, |
haha, nice. On the topic of help text/etc, I am a complete http://docopt.org/ fanboy... so I have to at least mention it once ;) |
Interesting, so you just describe the help doc and it figures out the params for you? I like that. This issue is of concern but assuming it doesn't interfere with jsfmt's functionality I don't mind switching. |
ooo, that seems like a fun issue. but yeah, just give it the help text and it does the rest. I'll see if I can do a port later today and do a PR so you can see what it would look like. |
jsfmt diff ignores space changes
git diff -b
and when runningjsfmt --diff=true --format=true ./rewrite.js
I missed a bunch of continuation changes that I didn't actually intend to make:is this the desired behavior? if not, I might suggest removing the
-b
option from jsfmt diff.The text was updated successfully, but these errors were encountered: