Skip to content

Commit

Permalink
ci: upgrade to check-spelling v0.0.24 (#18261)
Browse files Browse the repository at this point in the history
This upgrades to [check-spelling v0.0.24].

A number of GitHub APIs are being turned off shortly, so we need to
upgrade or various uncertain outcomes will occur.

There are some minor bugs that I'm aware of and which I've fixed since
this release (including a couple I discovered while preparing this PR).

There's a new accessibility forbidden pattern:

#### Should be `cannot` (or `can't`)

See https://www.grammarly.com/blog/cannot-or-can-not/
> Don't use `can not` when you mean `cannot`. The only time you're
likely to see `can not` written as separate words is when the word `can`
happens to precede some other phrase that happens to start with `not`.
> `Can't` is a contraction of `cannot`, and it's best suited for
informal writing.
> In formal writing and where contractions are frowned upon, use
`cannot`.
> It is possible to write `can not`, but you generally find it only as
part of some other construction, such as `not only . . . but also.`
- if you encounter such a case, add a pattern for that case to
patterns.txt.
```
\b[Cc]an not\b
```

[check-spelling v0.0.24]: https://github.com/check-spelling/check-spelling/releases/tag/v0.0.24

Signed-off-by: Josh Soref <[email protected]>
  • Loading branch information
jsoref authored Dec 4, 2024
1 parent 0d846ae commit 774f742
Show file tree
Hide file tree
Showing 61 changed files with 695 additions and 368 deletions.
5 changes: 4 additions & 1 deletion .github/actions/spelling/allow/allow.txt
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ clickable
cmark
CMMI
colorbrewer
commandlines
consvc
copyable
dalet
Expand All @@ -27,6 +28,7 @@ gfm
ghe
gje
godbolt
hstrings
hyperlinking
hyperlinks
Kbds
Expand All @@ -46,8 +48,8 @@ mkmk
mnt
mru
nje
NTMTo
notwrapped
NTMTo
ogonek
overlined
perlw
Expand Down Expand Up @@ -87,6 +89,7 @@ und
vsdevcmd
westus
workarounds
WSLs
wtconfig
XBox
YBox
Expand Down
Loading

0 comments on commit 774f742

Please sign in to comment.