# See https://github.com/check-spelling/check-spelling/wiki/Configuration-Examples:-patterns # Automatically suggested patterns # hit-count: 3011 file-count: 842 # IServiceProvider / isAThing \b(?:I|isA)(?=(?:[A-Z][a-z]{2,})+\b) # hit-count: 2239 file-count: 134 # hex runs \b[0-9a-fA-F]{16,}\b # hit-count: 1868 file-count: 1 # sha-... -- uses a fancy capture (\\?['"]|")[0-9a-f]{40,}\g{-1} # hit-count: 1100 file-count: 97 # base64 encoded content, possibly wrapped in mime (?:^|[\s=;:?])[-a-zA-Z=;:/0-9+]{50,}(?:[\s=;:?]|$) # hit-count: 426 file-count: 165 # GitHub SHAs (markdown) (?:\[`?[0-9a-f]+`?\]\(https:/|)/(?:www\.|)github\.com(?:/[^/\s"]+){2,}(?:/[^/\s")]+)(?:[0-9a-f]+(?:[-0-9a-zA-Z/#.]*|)\b|) # hit-count: 331 file-count: 117 # hex digits including css/html color classes: (?:[\\0][xX]|\\u|[uU]\+|#x?|\%23)[0-9_a-fA-FgGrR]*?[a-fA-FgGrR]{2,}[0-9_a-fA-FgGrR]*(?:[uUlL]{0,3}|[iu]\d+)\b # hit-count: 275 file-count: 45 # version suffix v# (?:(?<=[A-Z]{2})V|(?<=[a-z]{2}|[A-Z]{2})v)\d+(?:\b|(?=[a-zA-Z_])) # hit-count: 209 file-count: 97 # w3 \bw3\.org/[-0-9a-zA-Z/#.]+ # hit-count: 137 file-count: 38 # alternate markers if you run into latex and friends (?]|\b)[0-9a-fA-F]{8}-(?:[0-9a-fA-F]{4}-){3}[0-9a-fA-F]{10,12}(?:\g{-1}|[<})>]) (?:L"[abAB]+", ){3}L"[abAB]+" # hit-count: 1 file-count: 1 # marker to ignore all code on line ^.*/\* #no-spell-check-line \*/.*$ # UnitTests \[DataRow\(.*\)\] # D2D D?2D # hit-count: 1 file-count: 1 # GHSA GHSA(?:-[0-9a-z]{4}){3} # hit-count: 1 file-count: 1 # medium \bmedium\.com/\@?[^/\s"]+/[-\w]+ # hit-count: 1 file-count: 1 # kubectl.kubernetes.io/last-applied-configuration "kubectl.kubernetes.io/last-applied-configuration": ".*" # hit-count: 1 file-count: 1 # tar arguments \b(?:\\n|)g?tar(?:\.exe|)(?:(?:\s+--[-a-zA-Z]+|\s+-[a-zA-Z]+|\s[ABGJMOPRSUWZacdfh-pr-xz]+\b)(?:=[^ ]*|))+ \bSecur32 # Questionably acceptable forms of `in to` # Personally, I prefer `log into`, but people object # https://www.tprteaching.com/log-into-log-in-to-login/ \b(?:[Ll]og|[Ss]ign) in to\b # to opt in \bto opt in\b # acceptable duplicates # ls directory listings [-bcdlpsw](?:[-r][-w][-Ssx]){3}\s+\d+\s+\S+\s+\S+\s+\d+\s+ # mount \bmount\s+-t\s+(\w+)\s+\g{-1}\b # C types and repeated CSS values \s(auto|center|div|inherit|long|LONG|none|normal|solid|thin|transparent|very)(?: \g{-1})+\s # C struct \bstruct\s+(\w+)\s+\g{-1}\b # go templates \s(\w+)\s+\g{-1}\s+\`(?:graphql|inject|json|yaml): # doxygen / javadoc / .net (?:[\\@](?:brief|groupname|t?param|return|retval)|(?:public|private|\[Parameter(?:\(.+\)|)\])(?:\s+static|\s+override|\s+readonly)*)(?:\s+\{\w+\}|)\s+(\w+)\s+\g{-1}\s # Commit message -- Signed-off-by and friends ^\s*(?:(?:Based-on-patch|Co-authored|Helped|Mentored|Reported|Reviewed|Signed-off)-by|Thanks-to): (?:[^<]*<[^>]*>|[^<]*)\s*$ # Autogenerated revert commit message ^This reverts commit [0-9a-f]{40}\.$ # Compile flag added to Cpp.Build.props _SILENCE_STDEXT_ARR_ITERS_DEPRECATION_WARNING # ignore long runs of a single character: \b([A-Za-z])\g{-1}{3,}\b