Radish alpha
h
Radicle Heartwood Protocol & Stack
Radicle
Git (anonymous pull)
Log in to clone via SSH
hooks: Enable typos
Lorenz Leutgeb committed 6 months ago
commit 98ec7a9f1b9b7a41ef3b9c353d0c0e48146625a8
parent 32d77641ab07c1de493d58bb2a49d2a96edddfec
2 files changed +13 -0
added .typos.toml
@@ -0,0 +1,5 @@
+
[default]
+
extend-ignore-identifiers-re = [
+
    "did:key:z6Mk.*",
+
    "z6Mk.*",
+
]
modified flake.nix
@@ -224,6 +224,14 @@
              hooks =
                {
                  alejandra.enable = true;
+
                  typos = {
+
                    enable = true;
+
                    files = "^crates/radicle/.*\\.rs$";
+
                    settings = {
+
                      verbose = true;
+
                      write = true;
+
                    };
+
                  };
                  codespell = {
                    enable = true;
                    entry = "${lib.getExe pkgs.codespell} -w";