commit 4421bf938683cf28aa43b3e939729947e1efe7cb from: mtmn date: Fri May 8 09:53:12 2026 UTC feat: add prek commit - d8ff7486b6a709a9f7ec76aa641095d9f15cb7df commit + 4421bf938683cf28aa43b3e939729947e1efe7cb blob - /dev/null blob + 4c06ddc12b445cad19006a756a18fe1dad183b4a (mode 644) --- /dev/null +++ prek.toml @@ -0,0 +1,41 @@ +[[repos]] +repo = "https://github.com/pre-commit/pre-commit-hooks" +rev = "v6.0.0" +hooks = [ + { id = "trailing-whitespace" }, + { id = "end-of-file-fixer" }, + { id = "double-quote-string-fixer" } +] + +[[repos]] +repo = "https://github.com/biomejs/pre-commit" +rev = "v2.4.10" +hooks = [ + { id = "biome-format" } +] + +[[repos]] +repo = "https://github.com/gitleaks/gitleaks" +rev = "v8.30.1" +hooks = [ + { id = "gitleaks" } +] + +[[repos]] +repo = "https://github.com/astro/deadnix" +rev = "v1.3.1" +hooks = [ + { id = "deadnix" } +] + +[[repos]] +repo = "local" +hooks = [ + { + id = "alejandra", + name = "alejandra", + language = "system", + entry = "alejandra", + files = '\.nix$' + }, +]