CONTRIBUTING.md: update pre-commit info

This commit is contained in:
Timothy DeHerrera 2021-02-03 19:51:08 -07:00
parent 55630829f9
commit 564d2500fe
No known key found for this signature in database
GPG key ID: 8985725DB5B0C122

View file

@ -6,9 +6,9 @@ the `template` branch to provide a host of useful NixOS configurations available
"out of the box". If you wish to contribute such an expression please follow "out of the box". If you wish to contribute such an expression please follow
these guidelines: these guidelines:
* format your code with [`nixpkgs-fmt`][nixpkgs-fmt]. You can run the `hooks` * format your code with [`nixpkgs-fmt`][nixpkgs-fmt]. The default devshell
command inside the nix shell to install a pre-commit hook that does this includes a pre-commit hook that does this for you.
for you.
* The commit message follows the same semantics as [nixpkgs][nixpkgs]. * The commit message follows the same semantics as [nixpkgs][nixpkgs].
* You can use a `#` symbol to specify ambiguities. For example, * You can use a `#` symbol to specify ambiguities. For example,
`develop#zsh: <rest of commit message>` would tell me that your updating the `develop#zsh: <rest of commit message>` would tell me that your updating the