-
Notifications
You must be signed in to change notification settings - Fork 889
Conversation
Picking up on this thread
The output is just fine, it doesn't need to be any more verbose. To fix the entire source tree (one off):
For what it's worth, I have |
@weswigham Can you rebase this? I haven't tried tsfmt or the typescript compiler formatting tools which it's based on. From the description though, the formatting they do seems pretty unobtrusive. I wouldn't want to merge in a tool that does overly zealous reformatting (for example, if I have a multiline conditional statement, I wouldn't want a tool that combines it all into one line). I'm assuming based on both of your comments that tsfmt does an appropriate level of adjustments? |
@jkillian - because there is no standard format for TypeScript code (which I consider to be a weakness) you may find you want to set Does this PR actually enforce, as part of the build, that all code is formatted? Because the build is green, yet when checked out locally I see:
shows that 217 files are not formatted. Incidentally, formatting those files creates the following diff (ignoring whitespace changes): |
Interesting catch with running |
This PR just contains a tsfmt verification task. It doesn't add it to the On Sat, Oct 17, 2015, 10:06 AM Jason Killian notifications@github.com
|
I'd recommend someone else pick up this patch and update it if you're still interested in the build step (I still think tsfmt's pass/fail output is lacking, though), I've been focusing on other bits lately. |
Closing this in favor of #841, thanks for this idea @weswigham! |
For your consideration. I find it's output somewhat lacking, though.