Skip to content

Commit e33f2c6

Browse files
committed
ci: add some rules to typos tool
Signed-off-by: Paul Kroeher <paul.kroeher@cyberus-technology.de> On-behalf-of: SAP paul.kroeher@sap.com
1 parent fd3e99c commit e33f2c6

2 files changed

Lines changed: 10 additions & 1 deletion

File tree

checks/.typos.toml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
[default]
2+
extend-ignore-words-re = [
3+
# ignore some correct command line tools
4+
"exportfs"
5+
]

checks/default.nix

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,11 @@
66
hooks = {
77
nixfmt-rfc-style.enable = true;
88
deadnix.enable = true;
9-
typos.enable = true;
9+
# typos.enable = true;
10+
typos = {
11+
enable = true;
12+
settings.configPath = "checks/.typos.toml";
13+
};
1014
};
1115
};
1216
}

0 commit comments

Comments
 (0)