Skip to content

Commit 5fa95aa

Browse files
committed
Update README to mention prek
Back in 41da753 I added support for using [prek]. I neglected to mention it in the README, though. [prek]: https://prek.j178.dev
1 parent 6e85e34 commit 5fa95aa

1 file changed

Lines changed: 7 additions & 7 deletions

File tree

README.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -28,14 +28,14 @@ only available for x86-based processors.
2828

2929
$ /usr/sbin/softwareupdate --install-rosetta --agree-to-license
3030

31-
### pre-commit
31+
### Linting and Fixing
3232

33-
This repository uses [pre-commit] to keep the files nicely formatted. pre-commit
34-
and yadm play together nicely when committing, but since yadm stores the git
35-
repository away from the working copy, anytime `pre-commit` is invoked, it needs
36-
to be told where the repository is.
33+
This repository uses [prek] to keep the files nicely formatted. prek and yadm
34+
play together nicely when committing, but since yadm stores the git repository
35+
away from the working copy, anytime `prek` is invoked, it needs to be told where
36+
the repository is.
3737

38-
$ env GIT_DIR=$HOME/.local/share/yadm/repo.git pre-commit install
38+
$ env GIT_DIR=$HOME/.local/share/yadm/repo.git prek install
3939

4040
#### GNU
4141

@@ -47,5 +47,5 @@ tools will be updated as well.
4747
[gnu]: https://www.gnu.com
4848
[gnuclt]: https://www.topbug.net/blog/2013/04/14/install-and-use-gnu-command-line-tools-in-mac-os-x/
4949
[mas]: https://github.com/mas-cli/mas
50-
[pre-commit]: https://pre-commit.com
50+
[prek]: https://prek.j178.dev
5151
[yadm]: https://yadm.io

0 commit comments

Comments
 (0)