Skip to content

Commit ae64a2b

Browse files
committed
ignore todo.md in checks
1 parent a7c38a5 commit ae64a2b

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

Makefile

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -50,17 +50,17 @@ dev:
5050
.PHONY: check
5151
check:
5252
# Catch incorrect `an` e.g. `an fox`.
53-
rg --max-depth=1 '\san\s+[bcdfgjklmnpqrstvwxyz]' -i -t markdown || true
53+
rg --max-depth=1 '\san\s+[bcdfgjklmnpqrstvwxyz]' -i -t markdown --glob='!todo.md' || true
5454
# Catch incorrect `a` e.g. `a opening`.
55-
rg --max-depth=1 '\sa\s+[aei]' -i -t markdown || true
55+
rg --max-depth=1 '\sa\s+[aei]' -i -t markdown --glob='!todo.md' || true
5656
# Catch code blocks without explicit type.
57-
rg --max-depth=1 '^[ ]*```[ ]*\n\S' -t markdown --multiline --glob='!todo.md' || true
57+
rg --max-depth=1 '^[ ]*```[ ]*\n\S' -t markdown --multiline --glob='!todo.md' --glob='!todo.md' || true
5858
# Avoid mixing `KiB` and `Kib` - prefer the former.
59-
rg --max-depth=1 '\b[KMGT]ib\b' -t markdown || true
59+
rg --max-depth=1 '\b[KMGT]ib\b' -t markdown --glob='!todo.md' || true
6060
# Catch empty first line in code block.
61-
rg --max-depth=1 '^\s*```\w+\n\n' -t markdown --multiline || true
61+
rg --max-depth=1 '^\s*```\w+\n\n' -t markdown --multiline --glob='!todo.md' || true
6262
# Catch incorrect casing of `DTrace`.
63-
rg --max-depth=1 '[^`](dt|dT|Dt)race\b' -t markdown --multiline || true
63+
rg --max-depth=1 '[^`_/](dt|dT|Dt)race\b' -t markdown --multiline --glob='!todo.md' || true
6464

6565

6666
compile_flags.txt:

feed.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -252,7 +252,7 @@
252252
<title>Tip of the day #6: Use Bpftrace to estimate how much memory an in-memory cache will use</title>
253253
<link href="https://gaultier.github.io/blog/tip_of_the_day_6.html"/>
254254
<id>urn:uuid:1364b66b-c20b-5130-a782-2c785188ed89</id>
255-
<updated>2025-07-07T17:01:47+02:00</updated>
255+
<updated>2025-09-17T09:24:20+02:00</updated>
256256
<published>2025-03-12T13:35:23+01:00</published>
257257
</entry>
258258

@@ -292,7 +292,7 @@
292292
<title>A subtle bug with Go&#39;s errgroup</title>
293293
<link href="https://gaultier.github.io/blog/subtle_bug_with_go_errgroup.html"/>
294294
<id>urn:uuid:91dd6f95-7f4d-5706-91b5-f2cbf6b89f09</id>
295-
<updated>2025-08-12T14:34:08+02:00</updated>
295+
<updated>2025-09-17T09:24:20+02:00</updated>
296296
<published>2025-08-09T10:07:00+02:00</published>
297297
</entry>
298298

0 commit comments

Comments
 (0)