completely ripping off fufexan in hopes of fixing things
This commit is contained in:
15
pre-commit-hooks.nix
Normal file
15
pre-commit-hooks.nix
Normal file
@@ -0,0 +1,15 @@
|
||||
{inputs, ...}: {
|
||||
imports = [inputs.pre-commit-hooks.flakeModule];
|
||||
|
||||
perSystem.pre-commit = {
|
||||
settings.excludes = ["flake.lock"];
|
||||
|
||||
settings.hooks = {
|
||||
alejandra.enable = true;
|
||||
prettier = {
|
||||
enable = true;
|
||||
excludes = [".js" ".md" ".ts"];
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user