76 lines
2.1 KiB
Plaintext
76 lines
2.1 KiB
Plaintext
# See https://github.com/check-spelling/check-spelling/wiki/Configuration-Examples:-patterns
|
|
|
|
# data urls
|
|
(['"])data:.*?\g{-1}
|
|
data:[-a-zA-Z=;:/0-9+]*,\S*
|
|
|
|
# YouTube
|
|
https?://(?:(?:www\.|)youtube\.com|youtu.be)/(?:channel/|embed/|playlist\?list=|watch\?v=|v/|)[-a-zA-Z0-9?&=_]*
|
|
<\s*youtube\s+id=['"][-a-zA-Z0-9?_]*['"]
|
|
\bimg\.youtube\.com/vi/[-a-zA-Z0-9?&=_]*
|
|
youtube_id:\s*[-a-zA-Z0-9?&=_]*
|
|
|
|
# Google Analytics
|
|
\bgoogle-analytics\.com/collect.[-0-9a-zA-Z?%=&_.~]*
|
|
|
|
# Google APIs
|
|
\bgoogleapis\.com/[a-z]+/v\d+/[a-z]+/[@./?=\w]+
|
|
\b[-a-zA-Z0-9.]*\bstorage\d*\.googleapis\.com(?:/\S*|)
|
|
|
|
# Google Calendar
|
|
\bcalendar\.google\.com/calendar(?:/u/\d+|)/embed\?src=[@./?=\w&%]+
|
|
\w+\@group\.calendar\.google\.com\b
|
|
|
|
# Google DataStudio
|
|
\bdatastudio\.google\.com/(?:(?:c/|)u/\d+/|)(?:embed/|)(?:open|reporting|datasources|s)/[-0-9a-zA-Z]+(?:/page/[-0-9a-zA-Z]+|)
|
|
|
|
# The leading `/` here is as opposed to the `\b` above
|
|
# ... a short way to match `https://` or `http://` since most urls have one of those prefixes
|
|
# Google Docs
|
|
/docs\.google\.com/[a-z]+/d/(?:e/|)[0-9a-zA-Z_-]+/?
|
|
|
|
# Google Groups
|
|
https://groups\.google\.com/d/topic/[^/]+/[a-zA-Z0-9]+/discussion
|
|
https://groups\.google\.com/d/msg/[^/]+/[a-zA-Z0-9]+/[a-zA-Z0-9]+
|
|
|
|
# Google themes
|
|
themes\.googleusercontent\.com/static/fonts/[^/]+/v\d+/[^.]+.
|
|
|
|
# Google CDN
|
|
\bclients2\.google(?:usercontent|)\.com[-0-9a-zA-Z/.]*
|
|
|
|
# Goo.gl
|
|
/goo\.gl/[a-zA-Z0-9]+
|
|
|
|
# Google Chrome Store
|
|
\bchrome\.google\.com/webstore/detail/\w*(?:/\w*|)
|
|
|
|
# google_site_verification:
|
|
google_site_verification: [-a-zA-Z=;:/0-9+]*
|
|
|
|
# Ruby-doc.org
|
|
https://ruby-doc\.org/.*
|
|
|
|
# Contributors
|
|
alphabetical order.*:.*
|
|
twitter_handle: .*
|
|
|
|
# apiKey
|
|
apiKey: '[a-f0-9]+'
|
|
|
|
# FontAwesome
|
|
/(?:(?i)FontAwesome\.\w+\?\w+)
|
|
|
|
# Lorem
|
|
(?:\w|\s|[,.])*\b(?i)(?:amet|consectetur|cursus|dolor|eros|ipsum|lacus|libero|ligula|lorem|magna|neque|nulla|suscipit|tempus|ultrices)\b(?:\w|\s|[,.])*
|
|
|
|
# URL escaped characters
|
|
\%[0-9A-F]{2}
|
|
# c99 hex digits (not the full format, just one I've seen)
|
|
|
|
# hex digits including css/html color classes:
|
|
(?:[\\0][xX]|\\u|[uU]\+|#x?|\%23)[0-9a-fA-FgGrR_]{2,}(?:[uU]?[lL]{0,2}|u\d+)\b
|
|
|
|
# ignore long runs of a single character:
|
|
\b([A-Za-z])\g{-1}{3,}\b
|