From 6cc3547944aa5c1e942907c9c95c7b1b7479dc82 Mon Sep 17 00:00:00 2001 From: Shaun Case Date: Mon, 21 Apr 2025 17:48:33 -0700 Subject: [PATCH] Fix codespell false positive --- cmake-init/templates/common/.codespellrc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmake-init/templates/common/.codespellrc b/cmake-init/templates/common/.codespellrc index a8fd9d9..11aa396 100644 --- a/cmake-init/templates/common/.codespellrc +++ b/cmake-init/templates/common/.codespellrc @@ -4,4 +4,4 @@ check-filenames = check-hidden = skip = */.git,*/build,*/prefix{% if conan %},*/conan{% end %}{% if c %},*/.codespellrc{% end %} quiet-level = 2{% if c %} -ignore-regex = ^#include <(?:stdio)\.h>${% end %} +ignore-regex = ^#include <(?:stdio)\.h>(\s*//.*)?${% end %}