fix: exclude secrets from yaml linting

This commit is contained in:
Dmitriy Kholkin 2025-03-10 19:52:46 +03:00
parent 0d155fa553
commit bf9584b0f1
Signed by: AtaraxiaDev
GPG Key ID: FD266B810DF48DF2

View File

@ -115,29 +115,40 @@
enable = true; enable = true;
lsp.package = pkgs.nixd; lsp.package = pkgs.nixd;
}; };
pre-commit.hooks = { pre-commit.hooks =
actionlint.enable = true; let
deadnix.enable = true; default = {
flake-checker.enable = true; enable = true;
lychee.enable = true; excludes = [ "secrets/.*" ];
lychee.args = [ };
"--exclude" in
"^https://.+\\.backblazeb2\\.com" {
]; actionlint = default;
markdownlint.enable = true; deadnix = default;
nixfmt-rfc-style.enable = true; flake-checker = default;
ripsecrets.enable = true; lychee = default // {
# statix.enable = true; args = [
typos.enable = true; "--exclude-all-private"
yamlfmt.enable = true; "--exclude"
yamllint.enable = true; "^https://.*\\.backblazeb2\\.com"
yamllint.args = [ "--exclude"
"--config-file" "^https://.*\\.ataraxiadev\\.com"
".yamllint" ];
"--format" };
"parsable" markdownlint = default;
]; nixfmt-rfc-style = default;
}; ripsecrets = default;
typos = default;
yamlfmt = default;
yamllint = default // {
args = [
"--config-file"
".yamllint"
"--format"
"parsable"
];
};
};
}; };
}; };
} }