From 71b562e5644e5ebd1ed35017bf53d601a75b504c Mon Sep 17 00:00:00 2001 From: Tim Smith Date: Tue, 21 May 2024 21:36:39 -0700 Subject: [PATCH] Update spellcheck config + copyright year (#39) Minor updates Signed-off-by: Tim Smith --- .copywrite.hcl | 2 +- .../actions/spelling/line_forbidden.patterns | 26 +++++++++++++++++++ .github/actions/spelling/patterns.txt | 4 +-- .github/actions/spelling/reject.txt | 2 ++ LICENSE | 2 +- 5 files changed, 32 insertions(+), 4 deletions(-) diff --git a/.copywrite.hcl b/.copywrite.hcl index ed2142c..daa22bf 100644 --- a/.copywrite.hcl +++ b/.copywrite.hcl @@ -3,7 +3,7 @@ schema_version = 1 project { license = "BUSL-1.1" copyright_holder = "Mondoo, Inc." - copyright_year = 2023 + copyright_year = 2024 # (OPTIONAL) A list of globs that should not have copyright/license headers. # Supports doublestar glob patterns for more flexibility in defining which diff --git a/.github/actions/spelling/line_forbidden.patterns b/.github/actions/spelling/line_forbidden.patterns index 7d4f3e6..20dbc91 100644 --- a/.github/actions/spelling/line_forbidden.patterns +++ b/.github/actions/spelling/line_forbidden.patterns @@ -78,6 +78,9 @@ # s.b. email \be-mail\b +# s.b. APIs +\bapis\b + # # Product Names # @@ -198,6 +201,29 @@ \bCrowd Strike\b \b[Cc]rowdstrike\b +# +# Kubernetes Terms +# + +# s.b. DaemonSet +\bDaemonset\b + +# s.b. Dockershim +\bDockerShim\b +\bdockershim\b + +# s.b. LimitRange +\bLimitrange\b + +# s.b. Minikube +\bMiniKube\b + +# s.b. ReplicaSet +\bReplicaset\b + +# s.b. StatefulSet +\bStatefulset\b + # # HashiCorp Products # diff --git a/.github/actions/spelling/patterns.txt b/.github/actions/spelling/patterns.txt index 75f0ac1..caeb662 100644 --- a/.github/actions/spelling/patterns.txt +++ b/.github/actions/spelling/patterns.txt @@ -14,8 +14,8 @@ \b([A-Za-z])\g{-1}{3,}\b # ignore funky space IDs that blow up spell checking -api\.mondoo\.app\/space.*\b -console\.mondoo\.com\/space.*\b +api\.mondoo\.app\/.*\b +console\.mondoo\.com\/.*\b # azure subscription ID [0-9A-Fa-f]{8}-([0-9A-Fa-f]{4}-){3}[0-9A-Fa-f]{12} diff --git a/.github/actions/spelling/reject.txt b/.github/actions/spelling/reject.txt index 2a34fd6..593ff02 100644 --- a/.github/actions/spelling/reject.txt +++ b/.github/actions/spelling/reject.txt @@ -11,3 +11,5 @@ Sorce ^untilling$ ^wether.* \w*(?