1
Fork 0
mirror of https://github.com/RGBCube/alejandra synced 2025-08-01 21:17:45 +00:00

chore: add a more ergonomic (and cleaner) devshell

- project a pre-commit hook for contributors
- add an editorconfig
This commit is contained in:
David Arnold 2022-01-29 20:52:57 -05:00
parent 27e2435aa7
commit f9a8373893
No known key found for this signature in database
GPG key ID: 0318D822BAC965CC
5 changed files with 109 additions and 3 deletions

View file

@ -116,6 +116,21 @@ Let's get Alejandra on our systems:
- [nixpkgs-fmt](https://github.com/nix-community/nixpkgs-fmt)
- [nixfmt](https://github.com/serokell/nixfmt)
## Contributing
#### With `direnv`
```console
$ direnv allow
```
#### Without `direnv`
```console
$ nix develop -c $SHELL
$ menu
```
## Footnotes
[^benchmark-specs]: