Skip to content

Commit 8bbb765

Browse files
committed
Fix .codespellrc so that comments on the same line after including stdio.h
don't trigger a false positive of misspelled "studio".
1 parent 7e0c52f commit 8bbb765

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cmake-init/templates/common/.codespellrc

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,4 @@ check-filenames =
44
check-hidden =
55
skip = */.git,*/build,*/prefix{% if conan %},*/conan{% end %}{% if c %},*/.codespellrc{% end %}
66
quiet-level = 2{% if c %}
7-
ignore-regex = ^#include <(?:stdio)\.h>${% end %}
7+
ignore-regex = ^#include <(?:stdio)\.h>(\s*//.*)?${% end %}

0 commit comments

Comments
 (0)