2021-03-18 02:27:30 +08:00
|
|
|
# See https://github.com/check-spelling/check-spelling/wiki/Configuration-Examples:-patterns
|
2020-05-21 11:19:08 +08:00
|
|
|
https?://(?:(?:www\.|)youtube\.com|youtu.be)/[-a-zA-Z0-9?&=]*
|
2021-03-18 02:27:30 +08:00
|
|
|
# GitHub SHAs
|
|
|
|
\bapi.github\.com/repos/[^/]+/[^/]+/[^/]+/[0-9a-f]+\b
|
2020-05-21 11:19:08 +08:00
|
|
|
://github\.(?:com|blog)/[^\w")]+
|
2021-03-18 02:27:30 +08:00
|
|
|
(?:\[[0-9a-f]+\]\(https:/|)/github\.com/[^/]+/[^/]+/[^/]+/[0-9a-f]+(?:[-0-9a-zA-Z/#.]*|)\b
|
|
|
|
# githubusercontent
|
2020-05-21 11:19:08 +08:00
|
|
|
://githubusercontent\.com/[^\w")]+
|
2021-03-18 02:27:30 +08:00
|
|
|
# gist github
|
|
|
|
/gist\.github\.com/[^/]+/[0-9a-f]+
|
|
|
|
|
|
|
|
# msdn
|
|
|
|
\b(?:download\.visualstudio|docs|msdn)\.microsoft\.com/[-_a-zA-Z0-9()=./]*
|
|
|
|
|
2020-05-21 11:19:08 +08:00
|
|
|
data:[a-zA-Z=;,/0-9+-]+
|
|
|
|
0x[0-9a-fA-F](?:\.[0-9a-fA-F]*|)[pP]
|
|
|
|
(?:0[Xx]|U\+|#)[a-f0-9A-FGgRr]{2,}[Uu]?[Ll]{0,2}\b
|
2021-03-18 02:27:30 +08:00
|
|
|
# uuid:
|
|
|
|
[-<({"'>][0-9a-fA-F]{8}-(?:[0-9a-fA-F]{4}-){3}[0-9a-fA-F]{12}[<'"})>]
|
|
|
|
|
|
|
|
# ignore long runs of a single character:
|
|
|
|
\b([A-Za-z])\g{-1}{3,}\b
|
2020-05-21 11:19:08 +08:00
|
|
|
(?:L"[abAB]+", ){3}L"[abAB]+"
|
|
|
|
"Lorem[^"]+?\."
|
|
|
|
TestCase\("[^"]+"
|
|
|
|
|
2020-11-09 13:30:36 +08:00
|
|
|
# Test line with hexadecimal colors
|
|
|
|
\[DataRow\("[0-9A-F]{6}", \d{3}, \d{3}, \d{3}\)\]
|
2020-11-09 13:46:13 +08:00
|
|
|
\[DataRow\("[0-9A-F]{6}", \d{3}.\d{1}, \d{3}.\d{1}, \d{3}.\d{1}\)\]
|
2020-11-09 16:33:57 +08:00
|
|
|
\[DataRow\("[0-9A-F]{6}", "[BCGMRY]\d\d?", \d{3}, \d{3}\)\]
|
2020-11-09 13:30:36 +08:00
|
|
|
|
2020-05-21 11:19:08 +08:00
|
|
|
# Windows paths
|
|
|
|
\\native
|
|
|
|
\\notifications
|
|
|
|
\\recyclebin
|
|
|
|
\\reinstall
|
|
|
|
\\Resize
|
|
|
|
\\resource
|
|
|
|
\\Resources
|
|
|
|
\\restart
|
|
|
|
\\restore
|
|
|
|
\\result
|
|
|
|
\\runner
|
|
|
|
\\Telemetry
|
|
|
|
\\telemetry
|
|
|
|
\\testapp
|
|
|
|
\\tests
|
|
|
|
\\tools
|
2021-01-21 02:15:45 +08:00
|
|
|
|
|
|
|
# plugin.json
|
|
|
|
^ "ID": "[0-9A-F]{32}",$
|
|
|
|
|
|
|
|
# UnitTests
|
|
|
|
\[DataRow\(.*\)\]
|
|
|
|
|
|
|
|
# Id info inside markdown file (registry.md)
|
|
|
|
^\|\s+ID\s+\|\s*\`[0-9A-F]{32}\`
|
|
|
|
|
|
|
|
# marker for ignoring a comment to the end of the line
|
|
|
|
^.*/\* #no-spell-check-line \*/.*$
|
2021-02-03 01:40:01 +08:00
|
|
|
// #no-spell-check.*$
|
2021-03-18 02:27:30 +08:00
|
|
|
|
|
|
|
http://tes/
|