Scratch-Bookmarklets / Scratch-Bookmarklets.github.io

The site of @Scratch-Bookmarklets.
https://scratch-bookmarklets.github.io
BSD 3-Clause "New" or "Revised" License
6 stars 10 forks source link

Question: is it possible to run prettier on commits #135

Closed Shluffy closed 3 years ago

Shluffy commented 3 years ago

^. @FunctionalMetatable

FunctionalMetatable commented 3 years ago

After a commit is made we cannot change it so we make a new commit to run it through prettier

Shluffy commented 3 years ago

well, after the commit like after the push

FunctionalMetatable commented 3 years ago

well, after the commit like after the push

wdym?

Shluffy commented 3 years ago

when you push it runs prettier, is it possible to do that on a commit?

FunctionalMetatable commented 3 years ago

when you push it runs prettier, is it possible to do that on a commit?

do you mean running prettier on push and not making another commit to format the code? it doesn't look like this is possible

prettier runs code on commit/push => makes a new commit to format it.

Shluffy commented 3 years ago

okay, ty