mirror of
https://github.com/microsoft/PowerToys.git
synced 2025-12-16 03:37:59 +01:00
[ci]Upgrade check-spelling to v0.0.20 (#19574)
This commit is contained in:
22
.github/actions/spell-check/advice.md
vendored
22
.github/actions/spell-check/advice.md
vendored
@@ -1,7 +1,17 @@
|
|||||||
<!-- See https://github.com/check-spelling/check-spelling/wiki/Configuration-Examples%3A-advice --> <!-- markdownlint-disable MD033 MD041 -->
|
<!-- See https://github.com/check-spelling/check-spelling/wiki/Configuration-Examples%3A-advice --> <!-- markdownlint-disable MD033 MD041 -->
|
||||||
<details><summary>If the flagged items do not appear to be text</summary>
|
<details><summary>If the flagged items are false positives</summary>
|
||||||
|
|
||||||
If items relate to a ...
|
If items relate to a ...
|
||||||
|
* binary file (or some other file you wouldn't want to check at all).
|
||||||
|
|
||||||
|
Please add a file path to the `excludes.txt` file matching the containing file.
|
||||||
|
|
||||||
|
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).
|
||||||
|
|
||||||
* well-formed pattern.
|
* well-formed pattern.
|
||||||
|
|
||||||
If you can write a [pattern](https://github.com/check-spelling/check-spelling/wiki/Configuration-Examples:-patterns) that would match it,
|
If you can write a [pattern](https://github.com/check-spelling/check-spelling/wiki/Configuration-Examples:-patterns) that would match it,
|
||||||
@@ -12,14 +22,4 @@ https://www.regexplanet.com/advanced/perl/) yours before committing to verify it
|
|||||||
|
|
||||||
Note that patterns can't match multiline strings.
|
Note that patterns can't match multiline strings.
|
||||||
|
|
||||||
* binary file.
|
|
||||||
|
|
||||||
Please add a file path to the `excludes.txt` file matching the containing file.
|
|
||||||
|
|
||||||
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>
|
||||||
|
|||||||
2
.github/actions/spell-check/excludes.txt
vendored
2
.github/actions/spell-check/excludes.txt
vendored
@@ -71,7 +71,7 @@ ignore$
|
|||||||
^src/modules/previewpane/UnitTests-MarkdownPreviewHandler/HelperFiles/MarkdownWithHTMLImageTag.txt$
|
^src/modules/previewpane/UnitTests-MarkdownPreviewHandler/HelperFiles/MarkdownWithHTMLImageTag.txt$
|
||||||
^tools/CleanUp_tool/CleanUp_tool\.vcxproj\.filters$
|
^tools/CleanUp_tool/CleanUp_tool\.vcxproj\.filters$
|
||||||
^tools/Verification scripts/Check preview handler registration\.ps1$
|
^tools/Verification scripts/Check preview handler registration\.ps1$
|
||||||
^\.github/
|
|
||||||
^\.github/actions/spell-check/
|
^\.github/actions/spell-check/
|
||||||
^\.gitmodules$
|
^\.gitmodules$
|
||||||
|
^\Q.github/workflows/spelling2.yml\E$
|
||||||
^\Q.pipelines/ESRPSigning_core.json\E$
|
^\Q.pipelines/ESRPSigning_core.json\E$
|
||||||
|
|||||||
8
.github/actions/spell-check/expect.txt
vendored
8
.github/actions/spell-check/expect.txt
vendored
@@ -393,7 +393,6 @@ dcomp
|
|||||||
dcompi
|
dcompi
|
||||||
DComposition
|
DComposition
|
||||||
ddf
|
ddf
|
||||||
DDLM
|
|
||||||
Deact
|
Deact
|
||||||
debian
|
debian
|
||||||
debugbreak
|
debugbreak
|
||||||
@@ -978,6 +977,7 @@ IVirtual
|
|||||||
IWbem
|
IWbem
|
||||||
IWIC
|
IWIC
|
||||||
iwindow
|
iwindow
|
||||||
|
iwr
|
||||||
IXml
|
IXml
|
||||||
IYUV
|
IYUV
|
||||||
IZone
|
IZone
|
||||||
@@ -1292,7 +1292,6 @@ MYTZ
|
|||||||
NAMECHANGE
|
NAMECHANGE
|
||||||
nameof
|
nameof
|
||||||
namespace
|
namespace
|
||||||
namespaceanddescendants
|
|
||||||
Navassa
|
Navassa
|
||||||
naveensrinivasan
|
naveensrinivasan
|
||||||
NCACTIVATE
|
NCACTIVATE
|
||||||
@@ -1403,6 +1402,7 @@ NUMLOCK
|
|||||||
NUMPAD
|
NUMPAD
|
||||||
Nunavut
|
Nunavut
|
||||||
Nusa
|
Nusa
|
||||||
|
nushell
|
||||||
nwc
|
nwc
|
||||||
NWSE
|
NWSE
|
||||||
Objbase
|
Objbase
|
||||||
@@ -1726,7 +1726,6 @@ Rsp
|
|||||||
rst
|
rst
|
||||||
Rstrtmgr
|
Rstrtmgr
|
||||||
RTB
|
RTB
|
||||||
RTCS
|
|
||||||
RTLREADING
|
RTLREADING
|
||||||
RTSS
|
RTSS
|
||||||
runas
|
runas
|
||||||
@@ -2078,6 +2077,7 @@ TYPESHORTCUT
|
|||||||
UAC
|
UAC
|
||||||
UAL
|
UAL
|
||||||
uap
|
uap
|
||||||
|
ubuntu
|
||||||
udit
|
udit
|
||||||
Udk
|
Udk
|
||||||
Udmurtia
|
Udmurtia
|
||||||
@@ -2262,6 +2262,7 @@ winexe
|
|||||||
winforms
|
winforms
|
||||||
winfx
|
winfx
|
||||||
winget
|
winget
|
||||||
|
wingetcreate
|
||||||
Winhook
|
Winhook
|
||||||
winkey
|
winkey
|
||||||
WINL
|
WINL
|
||||||
@@ -2369,6 +2370,7 @@ YVYU
|
|||||||
Zabaykalsky
|
Zabaykalsky
|
||||||
ZEROINIT
|
ZEROINIT
|
||||||
ZIndex
|
ZIndex
|
||||||
|
zipfile
|
||||||
zonable
|
zonable
|
||||||
ZONECOLOR
|
ZONECOLOR
|
||||||
ZONEHIGHLIGHTCOLOR
|
ZONEHIGHLIGHTCOLOR
|
||||||
|
|||||||
@@ -14,13 +14,20 @@
|
|||||||
\bMicroSoft\b
|
\bMicroSoft\b
|
||||||
|
|
||||||
# s.b. another
|
# s.b. another
|
||||||
\ban other\b
|
\ban[- ]other\b
|
||||||
|
|
||||||
|
# s.b. greater than
|
||||||
|
\bgreater then\b
|
||||||
|
|
||||||
|
# s.b. less than
|
||||||
|
\bless then\b
|
||||||
|
|
||||||
# s.b. otherwise
|
# s.b. otherwise
|
||||||
\bother wise\b
|
\bother[- ]wise\b
|
||||||
|
|
||||||
# s.b. nonexistent
|
# s.b. nonexistent
|
||||||
\bnon existing\b
|
\bnon existing\b
|
||||||
|
\b[Nn]o[nt][- ]existent\b
|
||||||
|
|
||||||
# s.b. preexisting
|
# s.b. preexisting
|
||||||
[Pp]re-existing
|
[Pp]re-existing
|
||||||
|
|||||||
6
.github/actions/spell-check/patterns.txt
vendored
6
.github/actions/spell-check/patterns.txt
vendored
@@ -1,4 +1,5 @@
|
|||||||
# See https://github.com/check-spelling/check-spelling/wiki/Configuration-Examples:-patterns
|
# See https://github.com/check-spelling/check-spelling/wiki/Configuration-Examples:-patterns
|
||||||
|
|
||||||
https?://(?:(?:www\.|)youtube\.com|youtu.be)/[-a-zA-Z0-9?&=]*
|
https?://(?:(?:www\.|)youtube\.com|youtu.be)/[-a-zA-Z0-9?&=]*
|
||||||
# GitHub SHAs
|
# GitHub SHAs
|
||||||
\bapi.github\.com/repos/[^/]+/[^/]+/[^/]+/[0-9a-f]+\b
|
\bapi.github\.com/repos/[^/]+/[^/]+/[^/]+/[0-9a-f]+\b
|
||||||
@@ -104,7 +105,12 @@ http://tes/
|
|||||||
# tar arguments
|
# tar arguments
|
||||||
\b(?:\\n|)tar(?:\s+-[a-zA-Z]+|\s[a-z]+)+
|
\b(?:\\n|)tar(?:\s+-[a-zA-Z]+|\s[a-z]+)+
|
||||||
|
|
||||||
|
# fabricbot.json
|
||||||
|
"id": "\S+"
|
||||||
|
"commentPattern": ".*"
|
||||||
|
|
||||||
# acceptable duplicates
|
# acceptable duplicates
|
||||||
|
# ls directory listings
|
||||||
# /bin/ls -l output
|
# /bin/ls -l output
|
||||||
[-bcdlpsw](?:[-r][-w][-sx]){3}\s+\d+\s+(\S+)\s+\g{-1}\s+\d+\s+
|
[-bcdlpsw](?:[-r][-w][-sx]){3}\s+\d+\s+(\S+)\s+\g{-1}\s+\d+\s+
|
||||||
# C types
|
# C types
|
||||||
|
|||||||
5
.github/workflows/spelling2.yml
vendored
5
.github/workflows/spelling2.yml
vendored
@@ -51,8 +51,3 @@ jobs:
|
|||||||
config: .github/actions/spell-check
|
config: .github/actions/spell-check
|
||||||
checkout: true
|
checkout: true
|
||||||
task: ${{ needs.spelling.outputs.followup }}
|
task: ${{ needs.spelling.outputs.followup }}
|
||||||
extra_dictionaries:
|
|
||||||
cspell:filetypes/filetypes.txt
|
|
||||||
cspell:html/html.txt
|
|
||||||
cspell:css/css.txt
|
|
||||||
check_extra_dictionaries: ''
|
|
||||||
|
|||||||
Reference in New Issue
Block a user