hooks: Add codespell

Co-authored-by: Lorenz Leutgeb <lorenz.leutgeb@radicle.xyz>
This commit is contained in:
Yaroslav Halchenko
2025-11-01 12:06:08 +01:00
committed by Lorenz Leutgeb
co-authored by Lorenz Leutgeb
parent 8e331ce182
commit f7e57361dc
2 changed files with 9 additions and 0 deletions
+4
View File
@@ -0,0 +1,4 @@
[codespell]
skip = .git*,*.lock,.codespellrc
check-hidden = true
ignore-words-list = ser,noes
+5
View File
@@ -224,6 +224,11 @@
hooks =
{
alejandra.enable = true;
codespell = {
enable = true;
entry = "${lib.getExe pkgs.codespell} -w";
types = ["text"];
};
rustfmt = {
enable = true;
fail_fast = true;