-
Notifications
You must be signed in to change notification settings - Fork 109
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
File formatting improvements #88
Conversation
Thanks, but I would rather format this according to goolge style guide and add a formatting plugin (e.g. fmt-maven-plugin) to keep the files formatted. |
The performed changes are based on https://pre-commit.com/. They are basic and also covering non-Java files. You could use this tool for automated checks and/or a Java formatter which would be more involved. |
@darxriggs I took a look at the site you linked, but I don't see how would I make it work for a cloud github repo like this one. |
.. or maybe I just got it wrong. |
The main purpose of these hooks is for local use. Fortunately the pre-commit framework can also be used on CI systems - see https://pre-commit.com/#usage-in-continuous-integration. |
@darxriggs I tried to add pre-commit to the Jenkinsfile (#89). Right now it fails on git, even tough git is available.
|
I left you a comment - see here. |
No description provided.