gs-pre-commit-scala/README.md

16 lines
317 B
Markdown

# gs-pre-commit-scala
Pre-commit hooks for Scala 3 development. Used to run `scalafmt` on commit.
## Usage
Create `.pre-commit-config.yaml` at the root of your repository:
```yaml
---
repos:
- repo: https://git.garrity.co/garrity-software/gs-pre-commit-scala
rev: v1.0.0
hooks:
- id: scalafmt
```