CONTRIBUTING.md: update pre-commit info
This commit is contained in:
parent
55630829f9
commit
564d2500fe
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue