Skip to content

Commit

Permalink
spelling: z
Browse files Browse the repository at this point in the history
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
  • Loading branch information
jsoref committed Mar 1, 2024
1 parent 111b8de commit 6f2c83b
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 6 deletions.
1 change: 1 addition & 0 deletions .github/actions/spelling/allow.txt
@@ -1,5 +1,6 @@
github
https
risc
ssh
ubuntu
workarounds
2 changes: 1 addition & 1 deletion .github/actions/spelling/candidate.patterns
Expand Up @@ -621,7 +621,7 @@ TeX/AMS

# in check-spelling@v0.0.22+, printf markers aren't automatically consumed
# printf markers
(?<!\\)\\[nrt](?=[a-z]{2,})
#(?<!\\)\\[nrt](?=[a-z]{2,})
# alternate markers if you run into latex and friends
(?<!\\)\\[nrt](?=[a-z]{2,})(?=.*['"`])

Expand Down
13 changes: 8 additions & 5 deletions .github/actions/spelling/patterns.txt
Expand Up @@ -5,10 +5,9 @@
# https/http/file urls
(?:\b(?:https?|ftp|file)://)[-A-Za-z0-9+&@#/%?=~_|!:,.;]+[-A-Za-z0-9+&@#/%=~_|]

# hit-count: 312 file-count: 10
# in check-spelling@v0.0.22+, printf markers aren't automatically consumed
# printf markers
(?<!\\)\\[nrt](?=[a-z]{2,})
# hit-count: 310 file-count: 9
# alternate markers if you run into latex and friends
(?<!\\)\\[nrt](?=[a-z]{2,})(?=.*['"`])

# hit-count: 48 file-count: 11
# version suffix <word>v#
Expand Down Expand Up @@ -43,6 +42,10 @@
# curl arguments
\b(?:\\n|)curl(?:\.exe|)(?:\s+-[a-zA-Z]{1,2}\b)*(?:\s+-[a-zA-Z]{3,})(?:\s+-[a-zA-Z]+)*

# hit-count: 2 file-count: 1
# GitHub SHAs (markdown)
(?:\[`?[0-9a-f]+`?\]\(https:/|)/(?:www\.|)github\.com(?:/[^/\s"]+){2,}(?:/[^/\s")]+)(?:[0-9a-f]+(?:[-0-9a-zA-Z/#.]*|)\b|)

# hit-count: 1 file-count: 1
# GitHub SHA refs
\[([0-9a-f]+)\]\(https://(?:www\.|)github.com/[-\w]+/[-\w]+/commit/\g{-1}[0-9a-f]*
Expand All @@ -66,7 +69,7 @@
# ... or you could add the files to your `excludes` file (a version after 0.0.19 should identify the file path)
(?:(?:\w|\s|[,.])*\b(?i)(?:amet|consectetur|cursus|dolor|eros|ipsum|lacus|libero|ligula|lorem|magna|neque|nulla|suscipit|tempus)\b(?:\w|\s|[,.])*)

^INSERT INTO "Album" .*
^INSERT INTO ".*?" .*

# Questionably acceptable forms of `in to`
# Personally, I prefer `log into`, but people object
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/spelling.yml
Expand Up @@ -109,6 +109,7 @@ jobs:
cspell:software-terms/dict/softwareTerms.txt
cspell:golang/dict/go.txt
cspell:python/src/python/python-lib.txt
cspell:php/dict/php.txt
update:
name: Update PR
Expand Down

0 comments on commit 6f2c83b

Please sign in to comment.