Updated README to be useful.
This commit is contained in:
parent
eed51c6140
commit
b6cc3d180d
1 changed files with 18 additions and 0 deletions
18
README.md
18
README.md
|
@ -2,3 +2,21 @@
|
|||
|
||||
meager.io 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://github.com/pre-commit/pre-commit-hooks
|
||||
rev: v4.3.0
|
||||
hooks:
|
||||
- id: end-of-file-fixer
|
||||
- id: trailing-whitespace
|
||||
- repo: https://git.sr.ht/~eidolon/meager-pre-commit-scala
|
||||
rev: v0.1.1
|
||||
hooks:
|
||||
- id: scalafmt
|
||||
```
|
||||
|
|
Loading…
Add table
Reference in a new issue