Skip to content

Commit

Permalink
Update spellcheck config + deps (#24)
Browse files Browse the repository at this point in the history
* Update spellcheck config + deps

Catch more things

Signed-off-by: Tim Smith <[email protected]>

* Sync over a few things from upstream spellcheck

Signed-off-by: Tim Smith <[email protected]>

* Add SentinelOne and CrowdStrike

Signed-off-by: Tim Smith <[email protected]>

---------

Signed-off-by: Tim Smith <[email protected]>
  • Loading branch information
tas50 authored Mar 6, 2024
1 parent c533d76 commit 598e686
Show file tree
Hide file tree
Showing 4 changed files with 78 additions and 34 deletions.
35 changes: 34 additions & 1 deletion .github/actions/spelling/excludes.txt
Original file line number Diff line number Diff line change
@@ -1,50 +1,83 @@
# See https://github.com/check-spelling/check-spelling/wiki/Configuration-Examples:-excludes
(?:^|/)(?i)COPYRIGHT
(?:^|/)(?i)LICEN[CS]E
(?:^|/)3rdparty/
(?:^|/)go\.sum$
(?:^|/)package(?:-lock|)\.json$
(?:^|/)Pipfile$
(?:^|/)pyproject.toml
(?:^|/)requirements(?:-dev|-doc|-test|)\.txt$
(?:^|/)vendor/
ignore$
\.a$
\.ai$
\.all-contributorsrc$
\.avi$
\.bmp$
\.bz2$
\.cer$
\.class$
\.coveragerc$
\.crl$
\.crt$
\.csr$
\.dll$
\.docx?$
\.drawio$
\.DS_Store$
\.eot$
\.eps$
\.exe$
\.gif$
\.git-blame-ignore-revs$
\.gitattributes$
\.gitkeep$
\.graffle$
\.gz$
\.icns$
\.ico$
\.ipynb$
\.jar$
\.jks$
\.jpe?g$
\.key$
\.lib$
\.lock$
\.map$
\.min\..
\.mo$
\.mod$
\.mp[34]$
\.o$
\.ocf$
\.otf$
\.p12$
\.parquet$
\.pdf$
\.pem$
\.pfx$
\.png$
\.psd$
\.pyc$
\.pylintrc$
\.qm$
\.s$
\.svg$
\.sig$
\.so$
\.svgz?$
\.sys$
\.tar$
\.tgz$
\.tiff?$
\.ttf$
\.wav$
\.webm$
\.webp$
\.woff2?$
\.xcf$
\.xlsx?$
\.xpm$
\.xz$
\.zip$
^\.github/actions/spelling/
^\Q.github/workflows/spelling.yml\E$
58 changes: 34 additions & 24 deletions .github/actions/spelling/line_forbidden.patterns
Original file line number Diff line number Diff line change
@@ -1,28 +1,35 @@
# Detect common combinations of valid words that are in fact invalid.
# Useful for brand capitalizations

# Catch PR links left in the release notes

#
# Catch placeholder text
#

\b[Lo]orem [Ii]psum\

# PR links left in the release notes
\bhttps:\/\/github.com\/mondoohq\/.*\/pull\/\d*

#
# Terms to avoid
#

# s.b. Allow list
\swhitelist\b
\swhitelisting\b
\swhitelisted\b
\swhite list\b
\swhite listing\b
\swhite listed\b
\s[Ww]hitelist\b
\s[Ww]hitelisting\b
\s[Ww]hitelisted\b
\s[Ww]hite list\b
\s[Ww]hite listing\b
\s[Ww]hite listed\b

# s.b. Block list
\sblacklist\b
\sblacklisting\b
\sblacklisted\b
\sblack list\b
\sblack listing\b
\sblack listed\b
\s[Bb]lacklist\b
\s[Bb]lacklisting\b
\s[Bb]lacklisted\b
\s[Bb]lack list\b
\s[Bb]lack listing\b
\s[Bb]lack listed\b

#
# Our Terms
Expand All @@ -32,36 +39,31 @@
\sMondoo platform\b

# s.b. Compliance Hub
\scompliance hub\b
\sCompliance hubplatform\b
\s[Cc]ompliance hub\b

#
# Industry Terms
#

# s.b. Side scanning
\bSidescanning\b
\bsidescanning\b
\b[Ss]idescanning\b

# s.b. DevOps
\bDev Ops\b
\bDevops\b

# s.b. SaaS
\bSaas\b
\bsaas\b
\b[Ss]aas\b

# s.b. Docker Hub
\bDockerHub\b
\bDockerhub\b
\bDocker[Hh]ub\b

# s.b. REST API
\bRest API\b
\brest API\b
\b[Rr]est API\b
\brest api\b

# s.b. DevSecOps
\bDevsecops\b
\bDevsec[Oo]ps\b

# s.b. on-premises
\bon-premise\b
Expand Down Expand Up @@ -181,6 +183,14 @@
\bVirtualbox\b
\bVirtual Box\b

# s.b. SentinelOne
\bSentinalOne\b
\bSentinal One\b

# s.b. CrowdStrike
\bCrowd Strike\b
\bCrowdstrike\b

#
# HashiCorp Products
#
Expand Down
1 change: 1 addition & 0 deletions .github/actions/spelling/reject.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
ad-hoc
^attache$
^bellow$
benefitting
occurences?
^dependan.*
Expand Down
18 changes: 9 additions & 9 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -2343,9 +2343,9 @@
"@types/react" "*"

"@types/react@*", "@types/react@^18.2.61":
version "18.2.62"
resolved "https://registry.yarnpkg.com/@types/react/-/react-18.2.62.tgz#2527a7a54749b1a99c87a4aa8b83e26846face38"
integrity sha512-l3f57BbaEKP0xcFzf+5qRG8/PXykZiuVM6eEoPtqBPCp6dxO3HhDkLIgIyXPhPKNAeXn3KO2pEaNgzaEo/asaw==
version "18.2.63"
resolved "https://registry.yarnpkg.com/@types/react/-/react-18.2.63.tgz#4637c56146ad90f96d0583171edab953f7e6fe57"
integrity sha512-ppaqODhs15PYL2nGUOaOu2RSCCB4Difu4UFrP4I3NHLloXC/ESQzQMi9nvjfT1+rudd0d2L3fQPJxRSey+rGlQ==
dependencies:
"@types/prop-types" "*"
"@types/scheduler" "*"
Expand Down Expand Up @@ -2995,9 +2995,9 @@ caniuse-api@^3.0.0:
lodash.uniq "^4.5.0"

caniuse-lite@^1.0.0, caniuse-lite@^1.0.30001587, caniuse-lite@^1.0.30001591:
version "1.0.30001593"
resolved "https://registry.yarnpkg.com/caniuse-lite/-/caniuse-lite-1.0.30001593.tgz#7cda1d9e5b0cad6ebab4133b1f239d4ea44fe659"
integrity sha512-UWM1zlo3cZfkpBysd7AS+z+v007q9G1+fLTUU42rQnY6t2axoogPW/xol6T7juU5EUoOhML4WgBIdG+9yYqAjQ==
version "1.0.30001594"
resolved "https://registry.yarnpkg.com/caniuse-lite/-/caniuse-lite-1.0.30001594.tgz#bea552414cd52c2d0c985ed9206314a696e685f5"
integrity sha512-VblSX6nYqyJVs8DKFMldE2IVCJjZ225LW00ydtUWwh5hk9IfkTOffO6r8gJNsH0qqqeAF8KrbMYA2VEwTlGW5g==

ccount@^2.0.0:
version "2.0.1"
Expand Down Expand Up @@ -3824,9 +3824,9 @@ [email protected]:
integrity sha512-WMwm9LhRUo+WUaRN+vRuETqG89IgZphVSNkdFgeb6sS/E4OrDIN7t48CAewSHXc6C8lefD8KKfr5vY61brQlow==

electron-to-chromium@^1.4.668:
version "1.4.691"
resolved "https://registry.yarnpkg.com/electron-to-chromium/-/electron-to-chromium-1.4.691.tgz#e3c49de174b36b2bb96d09f44c81ff8ba273d775"
integrity sha512-vJ+/LmKja/St8Ofq4JGMFVZuwG7ECU6akjNSn2/g6nv8xbIBOWGlEs+WA8/3XaWkU0Nlyu0iFGgOxC4mpgFjgA==
version "1.4.693"
resolved "https://registry.yarnpkg.com/electron-to-chromium/-/electron-to-chromium-1.4.693.tgz#001bb5dcb57ba404366ec39e1957d11886fc8a93"
integrity sha512-/if4Ueg0GUQlhCrW2ZlXwDAm40ipuKo+OgeHInlL8sbjt+hzISxZK949fZeJaVsheamrzANXvw1zQTvbxTvSHw==

emoji-regex@^8.0.0:
version "8.0.0"
Expand Down

0 comments on commit 598e686

Please sign in to comment.