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
So there are times when I forget to run the formatter and push my commits which results in an extra "format" commit this is also not a good thing to run the CI resources on a format commit.
Is it possible to have it check formatting and automatically format if false??
The text was updated successfully, but these errors were encountered:
Unfortunately it wasn't that easy last time. I also find it quite annoying from time to time. What we could do is to ignore it until the very end and format it once directly before we merge. I think @TheCedarPrince has a way to format it on saving the file.
So, to comment on this, I did once upon a time have a saving mechanism (Ole did too if I recall correctly) that would autoformat my scripts, but it also introduced unnecessary friction into my workflow. I agree with Ole - I think the best way around this is to format at the end, but I'd rather still have the format check in place as it does remind us to format at the end of the PR process.
So there are times when I forget to run the formatter and push my commits which results in an extra "format" commit this is also not a good thing to run the CI resources on a format commit.
Is it possible to have it check formatting and automatically format if false??
The text was updated successfully, but these errors were encountered: