nix

configuration files that power my machines
Log | Files | Refs | README | LICENSE

prek.toml (833B)


      1 [[repos]]
      2 repo = "https://github.com/pre-commit/pre-commit-hooks"
      3 rev = "v6.0.0"
      4 hooks = [
      5   { id = "trailing-whitespace" },
      6   { id = "end-of-file-fixer" },
      7   { id = "double-quote-string-fixer" }
      8 ]
      9 
     10 [[repos]]
     11 repo = "https://github.com/biomejs/pre-commit"
     12 rev = "v2.4.16"
     13 hooks = [
     14   { id = "biome-format" }
     15 ]
     16 
     17 [[repos]]
     18 repo = "https://github.com/gitleaks/gitleaks"
     19 rev = "v8.30.1"
     20 hooks = [
     21   { id = "gitleaks" }
     22 ]
     23 
     24 [[repos]]
     25 repo = "https://github.com/astro/deadnix"
     26 rev = "v1.3.1"
     27 hooks = [
     28   { id = "deadnix" }
     29 ]
     30 
     31 [[repos]]
     32 repo = "local"
     33 hooks = [
     34   {
     35     id = "alejandra",
     36     name = "alejandra",
     37     language = "system",
     38     entry = "alejandra",
     39     files = '\.nix$'
     40   },
     41   {
     42     id = "statix",
     43     name = "statix",
     44     language = "system",
     45     entry = "statix check",
     46     pass_filenames = false,
     47     files = '\.nix$'
     48   },
     49 ]