Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upgrade to check-spelling 0.0.20alpha7 #19127

Merged
merged 17 commits into from
Jul 1, 2022
Merged
15 changes: 15 additions & 0 deletions .github/actions/spell-check/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
# check-spelling/check-spelling configuration

File | Purpose | Format | Info
-|-|-|-
[allow.txt](allow.txt) | Add words to the dictionary | one word per line (only letters and `'`s allowed) | [allow](https://github.com/check-spelling/check-spelling/wiki/Configuration#allow)
[reject.txt](reject.txt) | Remove words from the dictionary (after allow) | grep pattern matching whole dictionary words | [reject](https://github.com/check-spelling/check-spelling/wiki/Configuration-Examples%3A-reject)
[excludes.txt](excludes.txt) | Files to ignore entirely | perl regular expression | [excludes](https://github.com/check-spelling/check-spelling/wiki/Configuration-Examples%3A-excludes)
[only.txt](only.txt) | Only check matching files (applied after excludes) | perl regular expression | [only](https://github.com/check-spelling/check-spelling/wiki/Configuration-Examples%3A-only)
[patterns.txt](patterns.txt) | Patterns to ignore from checked lines | perl regular expression (order matters, first match wins) | [patterns](https://github.com/check-spelling/check-spelling/wiki/Configuration-Examples%3A-patterns)
[line_forbidden.patterns](line_forbidden.patterns) | Patterns to flag in checked lines | perl regular expression (order matters, first match wins) | [patterns](https://github.com/check-spelling/check-spelling/wiki/Configuration-Examples%3A-patterns)
[expect.txt](expect.txt) | Expected words that aren't in the dictionary | one word per line (sorted, alphabetically) | [expect](https://github.com/check-spelling/check-spelling/wiki/Configuration#expect)
[advice.md](advice.md) | Supplement for GitHub comment when unrecognized words are found | GitHub Markdown | [advice](https://github.com/check-spelling/check-spelling/wiki/Configuration-Examples%3A-advice)

Note: you can replace any of these files with a directory by the same name (minus the suffix)
and then include multiple files inside that directory (with that suffix) to merge multiple files together.
1 change: 1 addition & 0 deletions .github/actions/spell-check/allow.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
wil
42 changes: 31 additions & 11 deletions .github/actions/spell-check/excludes.txt
Original file line number Diff line number Diff line change
@@ -1,13 +1,15 @@
# See https://github.com/check-spelling/check-spelling/wiki/Configuration-Examples:-excludes
(?:^|/)monacoSRC/
(?:^|/)(?i)COPYRIGHT
(?:^|/)(?i)LICEN[CS]E
(?:^|/)go\.sum$
(?:^|/)MonacoPreviewHandler/customLanguages/
(?:^|/)MonacoPreviewHandler/monaco_languages.json
(?:^|/)MonacoPreviewHandler/index.html
(?:^|/)MonacoPreviewHandler/generateLanguagesJson.html
(?:^|/)MonacoPreviewHandler/index.html
(?:^|/)MonacoPreviewHandler/monacoSpecialLanguages.js
(?:^|/)(?i)COPYRIGHT
(?:^|/)(?i)LICEN[CS]E
(?:^|/)package(?:-lock)\.json$
(?:^|/)MonacoPreviewHandler/monaco_languages.json
(?:^|/)monacoSRC/
(?:^|/)package(?:-lock|)\.json$
(?:^|/)timezones\.json$
(?:^|/)vendor/
(?:^|/)WindowsSettings\.json$
/package(?:-lock|)\.json$
Expand All @@ -16,24 +18,44 @@
ignore$
[/.][a-z]{2}(?:-[a-zA-Z]{2}|)\.
\.ai$
\.avi$
\.bmp$
\.bz2$
\.crt$
\.dat$
\.dll$
\.DS_Store$
\.eot$
\.filters$
\.gcode$
\.gif$
\.gitattributes$
\.gitignore$
\.graffle$
\.gz$
\.icns$
\.ico$
\.jpg$
\.jar$
\.jpe?g$
\.key$
\.lcl$
\.lock$
\.min\.
\.map$
\.min\..
\.mod$
\.mp[34]$
\.ocf$
\.otf$
\.pdf$
\.pem$
\.PNG$
\.png$
\.psd$
\.stl$
\.woff$
\.svg$
\.ttf$
\.wav$
\.woff2?$
\.zip$
^doc/devdocs/akaLinks\.md$
^installer/PowerToysSetup/WebView2/MicrosoftEdgeWebview2Setup.exe$
Expand All @@ -52,6 +74,4 @@ ignore$
^\.github/
^\.github/actions/spell-check/
^\.gitmodules$
(?:^|/)WindowsSettings\.json$
(?:^|/)timezones\.json$
^\Q.pipelines/ESRPSigning_core.json\E$
43 changes: 11 additions & 32 deletions .github/actions/spell-check/expect.txt
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ actioned
activatable
ACTIVATEAPP
activationaction
adamchilders
ADDUNDORECORD
ADifferent
ADMINS
Expand Down Expand Up @@ -94,7 +95,6 @@ ARPPRODUCTICON
ARRAYSIZE
arsinh
artanh
Artboard
Artsakh
asdf
AShortcut
Expand Down Expand Up @@ -133,6 +133,7 @@ awakeness
awakeversion
AWAYMODE
AYUV
azchohfi
backend
backtracer
BADD
Expand Down Expand Up @@ -190,7 +191,6 @@ Bto
buf
BUFSIZE
bugreport
BUILDARCH
BUILDNUMBER
buildtask
buildtransitive
Expand Down Expand Up @@ -268,7 +268,6 @@ cnt
Cocklebiddy
coclass
codebase
codecvt
CODENAME
codeofconduct
codereview
Expand Down Expand Up @@ -299,7 +298,6 @@ comsuppw
comsuppwd
comutil
Concat
concrt
configs
Configurator
CONFLICTINGMODIFIERKEY
Expand Down Expand Up @@ -337,6 +335,7 @@ crlf
cron
Crossdevice
CRSEL
crutkas
CSearch
CSettings
csharp
Expand Down Expand Up @@ -439,11 +438,9 @@ devblogs
devdocs
devenum
DEVMON
devops
devpkey
DEVSOURCE
dhcp
diffing
difftime
DIIRFLAG
dimm
Expand All @@ -460,7 +457,6 @@ DLGMODALFRAME
dlib
dllexport
dllhost
dllimport
dllmain
dlls
DNLEN
Expand Down Expand Up @@ -494,9 +490,9 @@ DWINRT
dwl
dwm
dwmapi
dwmcorei
DWMCOLORIZATIONCOLORCHANGED
DWMCOMPOSITIONCHANGED
dwmcorei
DWMNCRENDERINGCHANGED
Dwmp
DWMSENDICONICLIVEPREVIEWBITMAP
Expand Down Expand Up @@ -524,6 +520,7 @@ EFile
ekus
elif
elseif
eltociear
Emoji
emptyrecyclebin
ENABLEDPOPUP
Expand All @@ -538,7 +535,7 @@ entrypoint
ENU
enum
EOAC
eol
EOL
epicgames
Eqn
ERASEBKGND
Expand Down Expand Up @@ -683,6 +680,7 @@ hanselman
hardcoded
Hardlines
HARDWAREINPUT
harvastum
hashcode
Hashset
Hashtable
Expand Down Expand Up @@ -743,7 +741,6 @@ homljgmgpmcbpjbnjpfijnhipfkiclkd
HOOKPROC
Hostbackdropbrush
hostname
hotfix
hotkeycontrol
hotkeys
hotlight
Expand Down Expand Up @@ -867,7 +864,6 @@ IMedia
IMem
IMessage
imeutil
iminstall
IMoniker
IMouse
impl
Expand Down Expand Up @@ -985,7 +981,6 @@ IVector
IView
IVirtual
IWbem
IWeb
IWIC
iwindow
IWork
Expand Down Expand Up @@ -1079,7 +1074,6 @@ LIBID
Lifecycle
LIGHTORANGE
LIGHTTURQUOISE
lightunplated
lindex
linkedin
linq
Expand Down Expand Up @@ -1288,7 +1282,6 @@ msp
msrc
mst
msvc
msvcp
MTND
Mul
multiline
Expand Down Expand Up @@ -1424,7 +1417,6 @@ Objbase
OBJID
objidl
oblitum
octodex
odbc
odbccp
Oem
Expand Down Expand Up @@ -1459,7 +1451,6 @@ OSVERSIONINFOEX
OSVERSIONINFOEXW
OSVERSIONINFOW
osvi
otating
OUTOFCONTEXT
OUTOFMEMORY
outpin
Expand Down Expand Up @@ -1498,7 +1489,6 @@ PCIDLIST
PCWSTR
pdb
pdbonly
pde
pdfpreviewhandler
pdo
pdto
Expand Down Expand Up @@ -1653,6 +1643,7 @@ RBUTTONDBLCLK
RBUTTONDOWN
RBUTTONUP
rclsid
rcmaehl
RCONTROL
RCtrl
readme
Expand Down Expand Up @@ -1752,8 +1743,6 @@ RTB
RTCS
RTLREADING
RTSS
ruleset
RUNACTIVEXCTLS
runas
rundll
rungameid
Expand Down Expand Up @@ -1816,6 +1805,7 @@ SETWORKAREA
sfgao
SFGAOF
SFP
shandsj
sharpkeys
SHCNE
SHCNF
Expand Down Expand Up @@ -1864,6 +1854,7 @@ SIGABRT
sigdn
SIGNINGSCENARIO
signtool
sinclairinat
SINGLEKEY
singlekeyremapcontrol
singletones
Expand All @@ -1877,14 +1868,14 @@ SIZENWSE
sizeof
sizeread
SIZEWE
sketchapp
SKIPOWNPROCESS
sku
SLGP
sln
SMALLICON
SMTO
snd
snickler
snwprintf
softline
somil
Expand Down Expand Up @@ -1982,7 +1973,6 @@ subquery
substr
Sul
Superbar
supressions
Suri
sut
SVE
Expand Down Expand Up @@ -2054,7 +2044,6 @@ THH
THICKFRAME
THISCOMPONENT
THotkey
thre
TILEDWINDOW
timedate
timediff
Expand Down Expand Up @@ -2091,7 +2080,6 @@ TRK
trl
trunc
Tshuapa
tspan
TStr
Tuva
TValue
Expand Down Expand Up @@ -2184,14 +2172,10 @@ uxtheme
UYVY
validmodulename
vcamp
vccorlib
vcdl
VCINSTALLDIR
vcm
vcomp
vcredist
VCRT
vcruntime
vcvars
VDesktop
vdi
Expand Down Expand Up @@ -2262,13 +2246,11 @@ wekyb
Wevtapi
wformat
wgpocpl
Whichdoes
whitespaces
WIC
wifi
wiki
wikipedia
wil
wildcards
winapi
winappdriver
Expand All @@ -2277,16 +2259,13 @@ Wincodecsdk
wincolor
windef
windir
Windowcontrols
WINDOWCREATED
WINDOWEDGE
WINDOWNAME
WINDOWPLACEMENT
WINDOWPOSCHANGED
WINDOWPOSCHANGING
Windowsapp
windowsappruntimeinstall
windowsappsdk
WINDOWSBUILDNUMBER
Windowscodecs
windowsdesktop
Expand Down
Loading