diff --git a/.github/actions/spelling/excludes.txt b/.github/actions/spelling/excludes.txt index e31f9c8f1..8f1e8cfd4 100644 --- a/.github/actions/spelling/excludes.txt +++ b/.github/actions/spelling/excludes.txt @@ -5,6 +5,22 @@ (?:^|/)go\.sum$ (?:^|/)package(?:-lock|)\.json$ (?:^|/)vendor/ +(?:^|/)test/ +(?:^|/)pkg/ +(?:^|/)cmd/ +(?:^|/)internal/ +(?:^|/)images/ +(?:^|/)overlay/ +(?:^|/)scripts/ +(?:^|/)sdk/ +(?:^|/)docs/assets/ +(?:^|/)docs/layouts/ +(?:^|/)docs/scripts/ +(?:^|/)docs/static/ +(?:^|/)docs/themes/ +CNAME$ + +Makefile$ \.a$ \.ai$ \.avi$ @@ -19,6 +35,8 @@ \.eot$ \.exe$ \.gif$ +\.toml$ +\.json$ \.gitattributes$ \.graffle$ \.gz$ diff --git a/.github/actions/spelling/patterns.txt b/.github/actions/spelling/patterns.txt index aaeca9e8f..f7c29b208 100644 --- a/.github/actions/spelling/patterns.txt +++ b/.github/actions/spelling/patterns.txt @@ -1,5 +1,74 @@ # See https://github.com/check-spelling/check-spelling/wiki/Configuration-Examples:-patterns +# Automatically suggested patterns +# hit-count: 54 file-count: 30 +# GitHub SHAs (markdown) +(?:\[`?[0-9a-f]+`?\]\(https:/|)/(?:www\.|)github\.com(?:/[^/\s"]+){2,}(?:/[^/\s")]+)(?:[0-9a-f]+(?:[-0-9a-zA-Z/#.]*|)\b|) + +# hit-count: 22 file-count: 16 +# githubusercontent +/[-a-z0-9]+\.githubusercontent\.com/[-a-zA-Z0-9?&=_\/.]* + +# hit-count: 20 file-count: 9 +# Compiler flags +(?:^|[\t ,"'`=(])-[DPWXYLlf](?=[A-Z]{2,}|[A-Z][a-z]|[a-z]{2,}) + +# hit-count: 17 file-count: 12 +# uuid: +\b[0-9a-fA-F]{8}-(?:[0-9a-fA-F]{4}-){3}[0-9a-fA-F]{12}\b + +# hit-count: 12 file-count: 5 +# URL escaped characters +\%[0-9A-F][A-F] + +# hit-count: 11 file-count: 7 +# hex runs +\b[0-9a-fA-F]{16,}\b + +# hit-count: 8 file-count: 8 +# tar arguments +\b(?:\\n|)g?tar(?:\.exe|)(?:(?:\s+--[-a-zA-Z]+|\s+-[a-zA-Z]+|\s[ABGJMOPRSUWZacdfh-pr-xz]+\b)(?:=[^ ]*|))+ + +# hit-count: 6 file-count: 2 +# version suffix v# +(?:(?<=[A-Z]{2})V|(?<=[a-z]{2}|[A-Z]{2})v)\d+(?:\b|(?=[a-zA-Z_])) + +# hit-count: 3 file-count: 2 +# IPv6 +\b(?:[0-9a-fA-F]{0,4}:){3,7}[0-9a-fA-F]{0,4}\b + +# hit-count: 2 file-count: 2 +# Google Calendar +\bcalendar\.google\.com/calendar(?:/u/\d+|)/embed\?src=[@./?=\w&%]+ + +# hit-count: 2 file-count: 2 +# ipfs url +/ipfs/[0-9a-z]* + +# hit-count: 1 file-count: 1 +# Amazon +\bamazon\.com/[-\w]+/(?:dp/[0-9A-Z]+|) + +# hit-count: 1 file-count: 1 +# Slack +\bslack\.com/[-0-9a-zA-Z/_~?&=.]* + +# hit-count: 1 file-count: 1 +# shields.io +\bshields\.io/[-\w/%?=&.:+;,]* + +# hit-count: 1 file-count: 1 +# Wikipedia +\ben\.wikipedia\.org/wiki/[-\w%.#]+ + +# hit-count: 1 file-count: 1 +# hex digits including css/html color classes: +(?:[\\0][xX]|\\u|[uU]\+|#x?|\%23)[0-9_a-fA-FgGrR]*?[a-fA-FgGrR]{2,}[0-9_a-fA-FgGrR]*(?:[uUlL]{0,3}|u\d+)\b + +# hit-count: 1 file-count: 1 +# go install +go install(?:\s+[a-z]+\.[-@\w/.]+)+ + # Questionably acceptable forms of `in to` # Personally, I prefer `log into`, but people object # https://www.tprteaching.com/log-into-log-in-to-login/