added pre-commit support for automated code linting/formatting

This commit is contained in:
Dennis Frieberg 2023-11-08 00:46:02 +01:00
parent 7acba2a5bb
commit 0dd73e6adb
Signed by untrusted user: nerf
GPG key ID: 42DED0E2D8F04FB6
4 changed files with 118 additions and 20 deletions

View file

@ -17,6 +17,15 @@
impermanence = {
url = "github:nix-community/impermanence";
};
pre-commit-hooks = {
url = "github:cachix/pre-commit-hooks.nix";
inputs = {
flake-compat.follows = "";
gitignore.follows = "";
nixpkgs-stable.follows = "";
nixpkgs.follows = "";
};
};
};
outputs = inputs@{ flake-parts, ... }: