Skip to content

A pre-commit hook which will automatically format your code with google's codestyle guidelines!

Notifications You must be signed in to change notification settings

alanda-io/google-style-precommit-hook

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 

Repository files navigation

A handy pre-commit hook which will run Google's java code style formatter for you on your code!

Usage:

repos:
- repo: https://github.com/alanda-io/google-style-precommit-hook.git
  sha: <commit id>
  hooks:
  - id: google-style-java

Note: this file stores Google's code style formatter jar in a .cache/ directory so that it doesn't need to be re-downloaded each time. You will probably want to add .cache/ to the .gitignore file of the project which uses this hook.

Forked from https://github.com/maltzj/google-style-precommit-hook

About

A pre-commit hook which will automatically format your code with google's codestyle guidelines!

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 100.0%