Do not follow this link

~eidolon/meager-pre-commit-scala

pre-commit hooks for scala development
Minor version and wording updates
Updated README to be useful.
Restricting to scala files but still passing filenames rather than relying on the scalafmt config

clone

read-only
https://git.sr.ht/~eidolon/meager-pre-commit-scala
read/write
git@git.sr.ht:~eidolon/meager-pre-commit-scala

You can also use your local clone with git send-email.

#meager-precommit-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:

---
repos:
  - repo: https://github.com/pre-commit/pre-commit-hooks
    rev: v4.4.0
    hooks:
      - id: end-of-file-fixer
      - id: trailing-whitespace
  - repo: https://git.meager.home/meager/meager-pre-commit-scala
    rev: v0.1.2
    hooks:
      - id: scalafmt
Do not follow this link