mirror of
https://github.com/microsoft/PowerToys.git
synced 2025-06-11 20:23:07 +08:00
Upgrade check-spelling to v0.0.18 (#11114)
* spelling: sent Signed-off-by: Josh Soref <jsoref@users.noreply.github.com> * Upgrade check-spelling to v0.0.18 Signed-off-by: Josh Soref <jsoref@users.noreply.github.com> Co-authored-by: Josh Soref <jsoref@users.noreply.github.com>
This commit is contained in:
parent
863b2541a0
commit
eb106650f6
27
.github/actions/spell-check/advice.md
vendored
Normal file
27
.github/actions/spell-check/advice.md
vendored
Normal file
@ -0,0 +1,27 @@
|
|||||||
|
<!-- See https://github.com/check-spelling/check-spelling/wiki/Configuration-Examples%3A-advice --> <!-- markdownlint-disable MD033 MD041 -->
|
||||||
|
<details><summary>If you see a bunch of garbage</summary>
|
||||||
|
|
||||||
|
If it relates to a ...
|
||||||
|
<details><summary>well-formed pattern</summary>
|
||||||
|
|
||||||
|
See if there's a [pattern](https://github.com/check-spelling/check-spelling/wiki/Configuration-Examples:-patterns) that would match it.
|
||||||
|
|
||||||
|
If not, try writing one and adding it to the `patterns.txt` file.
|
||||||
|
|
||||||
|
Patterns are Perl 5 Regular Expressions - you can [test](
|
||||||
|
https://www.regexplanet.com/advanced/perl/) yours before committing to verify it will match your lines.
|
||||||
|
|
||||||
|
Note that patterns can't match multiline strings.
|
||||||
|
</details>
|
||||||
|
<details><summary>binary-ish string</summary>
|
||||||
|
|
||||||
|
Please add a file path to the `excludes.txt` file instead of just accepting the garbage.
|
||||||
|
|
||||||
|
File paths are Perl 5 Regular Expressions - you can [test](
|
||||||
|
https://www.regexplanet.com/advanced/perl/) yours before committing to verify it will match your files.
|
||||||
|
|
||||||
|
`^` refers to the file's path from the root of the repository, so `^README\.md$` would exclude [README.md](
|
||||||
|
../tree/HEAD/README.md) (on whichever branch you're using).
|
||||||
|
</details>
|
||||||
|
|
||||||
|
</details>
|
15
.github/actions/spell-check/excludes.txt
vendored
15
.github/actions/spell-check/excludes.txt
vendored
@ -21,9 +21,22 @@ ignore$
|
|||||||
\.min\.
|
\.min\.
|
||||||
\.mod$
|
\.mod$
|
||||||
\.pdf$
|
\.pdf$
|
||||||
\.png$
|
|
||||||
\.PNG$
|
\.PNG$
|
||||||
|
\.png$
|
||||||
\.woff$
|
\.woff$
|
||||||
\.zip$
|
\.zip$
|
||||||
|
^src/common/logger/logger\.vcxproj\.filters$
|
||||||
|
^src/common/notifications/BackgroundActivatorDLL/BackgroundActivator\.vcxproj\.filters$
|
||||||
|
^src/common/notifications/BackgroundActivatorDLL/cpp\.hint$
|
||||||
|
^src/modules/colorPicker/ColorPickerUI/Resources/colorPicker\.cur$
|
||||||
|
^src/modules/fancyzones/lib/FancyZonesWinHookEventIDs\.h$
|
||||||
|
^src/modules/imageresizer/dll/ContextMenuHandler\.rgs$
|
||||||
|
^src/modules/imageresizer/dll/ImageResizerExt\.rgs$
|
||||||
|
^src/modules/powerrename/testapp/PowerRenameTest\.vcxproj\.filters$
|
||||||
|
^src/modules/powerrename/UWPui/pch\.h$
|
||||||
|
^src/modules/powerrename/UWPui/PowerRenameUWPUI\.vcxproj\.filters$
|
||||||
|
^src/modules/previewpane/PreviewPaneUnitTests/HelperFiles/MarkdownWithHTMLImageTag\.txt$
|
||||||
|
^tools/CleanUp_tool/CleanUp_tool\.vcxproj\.filters$
|
||||||
^\.github/
|
^\.github/
|
||||||
^\.github/actions/spell-check/
|
^\.github/actions/spell-check/
|
||||||
|
^\.gitmodules$
|
||||||
|
37
.github/actions/spell-check/expect.txt
vendored
37
.github/actions/spell-check/expect.txt
vendored
@ -1,7 +1,9 @@
|
|||||||
|
aaaa
|
||||||
aac
|
aac
|
||||||
abcd
|
abcd
|
||||||
abcdef
|
abcdef
|
||||||
abcdefgh
|
abcdefgh
|
||||||
|
ABCDEFGHIJKLMNOPQRSTUVWXYZ
|
||||||
abgr
|
abgr
|
||||||
ABlocked
|
ABlocked
|
||||||
Abug
|
Abug
|
||||||
@ -19,6 +21,7 @@ Actioncenter
|
|||||||
actioned
|
actioned
|
||||||
activatable
|
activatable
|
||||||
ACTIVATEAPP
|
ACTIVATEAPP
|
||||||
|
activationaction
|
||||||
Addavirtualdesktop
|
Addavirtualdesktop
|
||||||
addrum
|
addrum
|
||||||
ADDUNDORECORD
|
ADDUNDORECORD
|
||||||
@ -112,6 +115,7 @@ aumid
|
|||||||
AUTHN
|
AUTHN
|
||||||
AUTOAPPEND
|
AUTOAPPEND
|
||||||
autocomplete
|
autocomplete
|
||||||
|
autogenerated
|
||||||
autogenerates
|
autogenerates
|
||||||
AUTOHIDE
|
AUTOHIDE
|
||||||
AUTOMATIONPROPERTIES
|
AUTOMATIONPROPERTIES
|
||||||
@ -201,6 +205,8 @@ cdpxwin
|
|||||||
CENTERALIGN
|
CENTERALIGN
|
||||||
cfg
|
cfg
|
||||||
cguid
|
cguid
|
||||||
|
changecursor
|
||||||
|
Changemove
|
||||||
charconv
|
charconv
|
||||||
charset
|
charset
|
||||||
chdir
|
chdir
|
||||||
@ -212,7 +218,7 @@ CHILDWINDOW
|
|||||||
chrdavis
|
chrdavis
|
||||||
Chris's
|
Chris's
|
||||||
chrono
|
chrono
|
||||||
chrzan
|
Chrzan
|
||||||
CHT
|
CHT
|
||||||
CImage
|
CImage
|
||||||
cinttypes
|
cinttypes
|
||||||
@ -254,6 +260,8 @@ codereview
|
|||||||
Codespaces
|
Codespaces
|
||||||
COINIT
|
COINIT
|
||||||
colorconv
|
colorconv
|
||||||
|
colorhistory
|
||||||
|
colorhistorylimit
|
||||||
colorpicker
|
colorpicker
|
||||||
COLORREF
|
COLORREF
|
||||||
colorscheme
|
colorscheme
|
||||||
@ -287,6 +295,7 @@ CONTROLL
|
|||||||
CONTROLPARENT
|
CONTROLPARENT
|
||||||
Controlz
|
Controlz
|
||||||
coords
|
coords
|
||||||
|
copiedcolorrepresentation
|
||||||
cortana
|
cortana
|
||||||
cotaskmem
|
cotaskmem
|
||||||
COULDNOT
|
COULDNOT
|
||||||
@ -339,6 +348,7 @@ CUI
|
|||||||
currentculture
|
currentculture
|
||||||
CURSORINFO
|
CURSORINFO
|
||||||
cursorpos
|
cursorpos
|
||||||
|
customaction
|
||||||
CUSTOMACTIONTEST
|
CUSTOMACTIONTEST
|
||||||
cvd
|
cvd
|
||||||
cwchar
|
cwchar
|
||||||
@ -438,7 +448,6 @@ DLIMAGES
|
|||||||
dll
|
dll
|
||||||
dllexport
|
dllexport
|
||||||
dllhost
|
dllhost
|
||||||
dllimport
|
|
||||||
dllmain
|
dllmain
|
||||||
DNLEN
|
DNLEN
|
||||||
doctype
|
doctype
|
||||||
@ -822,6 +831,7 @@ IImage
|
|||||||
Iindex
|
Iindex
|
||||||
IInitialize
|
IInitialize
|
||||||
IInspectable
|
IInspectable
|
||||||
|
IIO
|
||||||
IItem
|
IItem
|
||||||
IJson
|
IJson
|
||||||
IKs
|
IKs
|
||||||
@ -830,6 +840,7 @@ ILogon
|
|||||||
IMAGEHLP
|
IMAGEHLP
|
||||||
imageresizer
|
imageresizer
|
||||||
IMAGERESIZEREXT
|
IMAGERESIZEREXT
|
||||||
|
imageresizersettings
|
||||||
IMain
|
IMain
|
||||||
IMarkdown
|
IMarkdown
|
||||||
ime
|
ime
|
||||||
@ -969,6 +980,7 @@ jpeg
|
|||||||
jpg
|
jpg
|
||||||
JPN
|
JPN
|
||||||
json
|
json
|
||||||
|
JSONOf
|
||||||
jsonval
|
jsonval
|
||||||
JSX
|
JSX
|
||||||
junja
|
junja
|
||||||
@ -1116,7 +1128,7 @@ LVS
|
|||||||
LVSIL
|
LVSIL
|
||||||
LWA
|
LWA
|
||||||
lwin
|
lwin
|
||||||
LZW
|
lzw
|
||||||
mailto
|
mailto
|
||||||
MAINICON
|
MAINICON
|
||||||
Mainwindow
|
Mainwindow
|
||||||
@ -1259,7 +1271,7 @@ NCMBUTTONDOWN
|
|||||||
NCMBUTTONUP
|
NCMBUTTONUP
|
||||||
NCMOUSELEAVE
|
NCMOUSELEAVE
|
||||||
NCMOUSEMOVE
|
NCMOUSEMOVE
|
||||||
NCol
|
ncol
|
||||||
NCPAINT
|
NCPAINT
|
||||||
NCRBUTTONDBLCLK
|
NCRBUTTONDBLCLK
|
||||||
NCRBUTTONDOWN
|
NCRBUTTONDOWN
|
||||||
@ -1272,6 +1284,7 @@ NESW
|
|||||||
netcore
|
netcore
|
||||||
netcoreapp
|
netcoreapp
|
||||||
netframework
|
netframework
|
||||||
|
NETFX
|
||||||
netsh
|
netsh
|
||||||
netstandard
|
netstandard
|
||||||
Neue
|
Neue
|
||||||
@ -1338,6 +1351,7 @@ npm
|
|||||||
npos
|
npos
|
||||||
NResize
|
NResize
|
||||||
ntdll
|
ntdll
|
||||||
|
NTFS
|
||||||
NTSTATUS
|
NTSTATUS
|
||||||
nuget
|
nuget
|
||||||
nullopt
|
nullopt
|
||||||
@ -1366,7 +1380,6 @@ oldnewthing
|
|||||||
oldpath
|
oldpath
|
||||||
oldtheme
|
oldtheme
|
||||||
oleaut
|
oleaut
|
||||||
OleAut
|
|
||||||
OLECHAR
|
OLECHAR
|
||||||
OLEDB
|
OLEDB
|
||||||
OLIVEGREEN
|
OLIVEGREEN
|
||||||
@ -1392,6 +1405,7 @@ OUTOFCONTEXT
|
|||||||
OUTOFMEMORY
|
OUTOFMEMORY
|
||||||
Outptr
|
Outptr
|
||||||
outro
|
outro
|
||||||
|
outsettings
|
||||||
OVERLAPPEDWINDOW
|
OVERLAPPEDWINDOW
|
||||||
overlaywindow
|
overlaywindow
|
||||||
OWNDC
|
OWNDC
|
||||||
@ -1632,7 +1646,6 @@ rexit
|
|||||||
rfind
|
rfind
|
||||||
rgb
|
rgb
|
||||||
RGBQUAD
|
RGBQUAD
|
||||||
rge
|
|
||||||
rgelt
|
rgelt
|
||||||
Rgn
|
Rgn
|
||||||
rgs
|
rgs
|
||||||
@ -1671,6 +1684,7 @@ runtimeclass
|
|||||||
runtimeconfig
|
runtimeconfig
|
||||||
runtimes
|
runtimes
|
||||||
rv
|
rv
|
||||||
|
RUS
|
||||||
rvalue
|
rvalue
|
||||||
rvm
|
rvm
|
||||||
rwin
|
rwin
|
||||||
@ -1752,6 +1766,7 @@ SHORTCUTSTARTWITHMODIFIER
|
|||||||
Shortcuttool
|
Shortcuttool
|
||||||
shortdate
|
shortdate
|
||||||
SHORTPATH
|
SHORTPATH
|
||||||
|
showcolorname
|
||||||
SHOWDEFAULT
|
SHOWDEFAULT
|
||||||
SHOWELEVATIONPROMPT
|
SHOWELEVATIONPROMPT
|
||||||
SHOWMAXIMIZED
|
SHOWMAXIMIZED
|
||||||
@ -1786,7 +1801,7 @@ SLGP
|
|||||||
sln
|
sln
|
||||||
SMALLICON
|
SMALLICON
|
||||||
SMTO
|
SMTO
|
||||||
Snd
|
snd
|
||||||
somil
|
somil
|
||||||
SORTDOWN
|
SORTDOWN
|
||||||
SOURCECLIENTAREAONLY
|
SOURCECLIENTAREAONLY
|
||||||
@ -1882,6 +1897,7 @@ svgpreviewhandler
|
|||||||
Switchbetweenvirtualdesktops
|
Switchbetweenvirtualdesktops
|
||||||
SWP
|
SWP
|
||||||
swprintf
|
swprintf
|
||||||
|
SWRESTORE
|
||||||
SYMED
|
SYMED
|
||||||
SYMOPT
|
SYMOPT
|
||||||
SYNCPAINT
|
SYNCPAINT
|
||||||
@ -1956,6 +1972,7 @@ TNP
|
|||||||
todo
|
todo
|
||||||
toggleswitch
|
toggleswitch
|
||||||
toolbar
|
toolbar
|
||||||
|
Toolchain
|
||||||
toolset
|
toolset
|
||||||
tooltip
|
tooltip
|
||||||
toolwindow
|
toolwindow
|
||||||
@ -2084,11 +2101,13 @@ VIDEOINFOHEADER
|
|||||||
viewbox
|
viewbox
|
||||||
viewmodel
|
viewmodel
|
||||||
virtualization
|
virtualization
|
||||||
|
visiblecolorformats
|
||||||
Visibletrue
|
Visibletrue
|
||||||
visualbrush
|
visualbrush
|
||||||
visualstudio
|
visualstudio
|
||||||
vk
|
vk
|
||||||
VKey
|
VKey
|
||||||
|
VKTAB
|
||||||
vm
|
vm
|
||||||
vmax
|
vmax
|
||||||
vmin
|
vmin
|
||||||
@ -2125,6 +2144,7 @@ wcsncmp
|
|||||||
wcsnicmp
|
wcsnicmp
|
||||||
wdp
|
wdp
|
||||||
wdupenv
|
wdupenv
|
||||||
|
We'd
|
||||||
weakme
|
weakme
|
||||||
webcam
|
webcam
|
||||||
webclient
|
webclient
|
||||||
@ -2219,7 +2239,6 @@ wsz
|
|||||||
wtoi
|
wtoi
|
||||||
WTS
|
WTS
|
||||||
WTSAT
|
WTSAT
|
||||||
wu
|
|
||||||
Wwan
|
Wwan
|
||||||
www
|
www
|
||||||
wxs
|
wxs
|
||||||
@ -2228,6 +2247,7 @@ xamarin
|
|||||||
xaml
|
xaml
|
||||||
XAttribute
|
XAttribute
|
||||||
xbf
|
xbf
|
||||||
|
XBind
|
||||||
XBUTTON
|
XBUTTON
|
||||||
XBUTTONDBLCLK
|
XBUTTONDBLCLK
|
||||||
XBUTTONDOWN
|
XBUTTONDOWN
|
||||||
@ -2269,7 +2289,6 @@ zh
|
|||||||
ZIndex
|
ZIndex
|
||||||
zipfolder
|
zipfolder
|
||||||
zm
|
zm
|
||||||
zom
|
|
||||||
zonable
|
zonable
|
||||||
ZONECOLOR
|
ZONECOLOR
|
||||||
ZONEHIGHLIGHTCOLOR
|
ZONEHIGHLIGHTCOLOR
|
||||||
|
6
.github/workflows/spelling.yml
vendored
6
.github/workflows/spelling.yml
vendored
@ -2,6 +2,7 @@ name: Spell checking
|
|||||||
on:
|
on:
|
||||||
pull_request_target:
|
pull_request_target:
|
||||||
push:
|
push:
|
||||||
|
issue_comment:
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
@ -13,12 +14,9 @@ jobs:
|
|||||||
uses: actions/checkout@v2.0.0
|
uses: actions/checkout@v2.0.0
|
||||||
with:
|
with:
|
||||||
ref: refs/pull/${{github.event.pull_request.number}}/merge
|
ref: refs/pull/${{github.event.pull_request.number}}/merge
|
||||||
fetch-depth: 5
|
|
||||||
- name: checkout
|
- name: checkout
|
||||||
if: "!contains(github.event_name, 'pull_request')"
|
if: "!contains(github.event_name, 'pull_request')"
|
||||||
uses: actions/checkout@v2.0.0
|
uses: actions/checkout@v2.0.0
|
||||||
with:
|
- uses: check-spelling/check-spelling@v0.0.18
|
||||||
fetch-depth: 5
|
|
||||||
- uses: check-spelling/check-spelling@0.0.17-alpha
|
|
||||||
with:
|
with:
|
||||||
config: .github/actions/spell-check
|
config: .github/actions/spell-check
|
||||||
|
@ -7,7 +7,7 @@ using System.Text.Json.Serialization;
|
|||||||
|
|
||||||
namespace Microsoft.PowerToys.Settings.UI.Library
|
namespace Microsoft.PowerToys.Settings.UI.Library
|
||||||
{
|
{
|
||||||
// Represents a powertoys module settings setnt to the runner.
|
// Represents a powertoys module settings sent to the runner.
|
||||||
public class SndModuleSettings<T>
|
public class SndModuleSettings<T>
|
||||||
{
|
{
|
||||||
[JsonPropertyName("powertoys")]
|
[JsonPropertyName("powertoys")]
|
||||||
|
Loading…
Reference in New Issue
Block a user