michalrus / git-hooks-code-autoformat

Apache License 2.0
87 stars 24 forks source link

our own custom formatter #21

Open northerndeveloper opened 4 years ago

northerndeveloper commented 4 years ago

Hello

Can we add our own custom formatter there ? For example I want to modify the line indentation from 3 to 5. Do you think a custom change is available with git-hooks-code-autoformat?

Regards

michalrus commented 4 years ago

Well, you can always make a PR, and if it doesn’t make it, you’ve got a working fork anyway.

But wouldn’t you rather set up a CI script that checks formatting, and fails the build if it’s wrong?