Skip to content

maltzj/ktlint-pre-commit

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

ktlint-pre-commit

A ktlint pre-commit hook

Usage:

repos:
- repo: https://github.com/maltzj/ktlint-pre-commit
  sha: e5bee17 
  hooks:
      - id: ktlint

Notes:

  • This file stores ktlint 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.
  • The first time this hook runs it will need to download ktlint, which takes a long time.

About

A ktlint pre-commit hook

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages