From f43034cea9a0863e618c3d0a43706ce38c8791cf Mon Sep 17 00:00:00 2001 From: Yves Biener Date: Sun, 2 Nov 2025 13:17:52 +0100 Subject: [PATCH] fix(lint): correct typos --- .typos-config | 3 +++ README.md | 4 ++-- src/main.zig | 2 +- 3 files changed, 6 insertions(+), 3 deletions(-) diff --git a/.typos-config b/.typos-config index 7b30bb8..263c207 100644 --- a/.typos-config +++ b/.typos-config @@ -1,2 +1,5 @@ [files] extend-exclude = [] + +[default.extend-words] +WRONLY = "WRONLY" diff --git a/README.md b/README.md index 9bcbcab..3aceebe 100644 --- a/README.md +++ b/README.md @@ -13,7 +13,7 @@ Add or update this library as a dependency in your zig project run the following zig fetch --save git+https://gitea.yves-biener.de/yves-biener/zlog ``` -Afterwards add the library as a dependendy to any module in your *build.zig*: +Afterwards add the library as a dependency to any module in your *build.zig*: ```zig const ztime_dependency = b.dependency("ztime", .{ @@ -78,7 +78,7 @@ const Struct = struct { }; pub fn main() void { - // without explict scope (i.e. `.default` scope) + // without explicit scope (i.e. `.default` scope) std.log.info("Without explicit scope or `.default` scope", .{}); // initialize zlog with the scope of `main` const log = std.log.scoped(.main); diff --git a/src/main.zig b/src/main.zig index 71117de..abb30f7 100644 --- a/src/main.zig +++ b/src/main.zig @@ -46,7 +46,7 @@ const Struct = struct { }; pub fn main() void { - // without explict scope (i.e. `.default` scope) + // without explicit scope (i.e. `.default` scope) std.log.info("Without explicit scope or `.default` scope", .{}); // initialize zlog with the scope of `main` const log = std.log.scoped(.main);