Configure git-hooks-nix
This commit is contained in:
parent
6d65e70fe3
commit
6c3ab477e0
6 changed files with 112 additions and 1 deletions
7
nix/modules/phpcs.nix
Normal file
7
nix/modules/phpcs.nix
Normal file
|
@ -0,0 +1,7 @@
|
|||
{
|
||||
perSystem.pre-commit.settings.hooks.phpcs = {
|
||||
enable = true;
|
||||
|
||||
settings.binPath = "vendor/bin/phpcs";
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue