Skip to content

Commit

Permalink
docs: add pre-commit example
Browse files Browse the repository at this point in the history
  • Loading branch information
kamadorueda committed May 6, 2022
1 parent dcaed43 commit 73af6ae
Showing 1 changed file with 16 additions and 2 deletions.
18 changes: 16 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -92,10 +92,24 @@

- ✔️ **Native**

We integrate with common code editors:
We integrate with common code editors and workflows:

- [Alejandra extension for Visual Studio Code](https://marketplace.visualstudio.com/items?itemName=kamadorueda.alejandra)
- [Doom-emacs configuration](https://github.com/hlissner/doom-emacs): `(set-formatter! 'alejandra "alejandra --quiet" :modes '(nix-mode))`
- [Doom-emacs](https://github.com/hlissner/doom-emacs):

```
(set-formatter! 'alejandra "alejandra --quiet" :modes '(nix-mode))
```

- [Pre-commit](https://pre-commit.com/):

```yaml
repos:
- repo: https://github.com/kamadorueda/alejandra
rev: dcaed43358af225dd2593b75537a01beb98563f0
hooks:
- id: alejandra
```
## Getting started
Expand Down

0 comments on commit 73af6ae

Please sign in to comment.