2021-05-11 15:39:14 +08:00
|
|
|
<!-- See https://github.com/check-spelling/check-spelling/wiki/Configuration-Examples%3A-advice --> <!-- markdownlint-disable MD033 MD041 -->
|
2022-11-30 03:41:22 +08:00
|
|
|
<details><summary>If the flagged items are :exploding_head: false positives</summary>
|
2021-05-11 15:39:14 +08:00
|
|
|
|
2021-12-13 03:42:04 +08:00
|
|
|
If items relate to a ...
|
2022-07-27 18:39:46 +08:00
|
|
|
* 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).
|
|
|
|
|
2021-12-13 03:42:04 +08:00
|
|
|
* well-formed pattern.
|
2021-05-11 15:39:14 +08:00
|
|
|
|
2021-12-13 03:42:04 +08:00
|
|
|
If you can write a [pattern](https://github.com/check-spelling/check-spelling/wiki/Configuration-Examples:-patterns) that would match it,
|
|
|
|
try adding it to the `patterns.txt` file.
|
2021-05-11 15:39:14 +08:00
|
|
|
|
2021-12-13 03:42:04 +08:00
|
|
|
Patterns are Perl 5 Regular Expressions - you can [test](
|
2021-05-11 15:39:14 +08:00
|
|
|
https://www.regexplanet.com/advanced/perl/) yours before committing to verify it will match your lines.
|
|
|
|
|
2021-12-13 03:42:04 +08:00
|
|
|
Note that patterns can't match multiline strings.
|
2021-05-11 15:39:14 +08:00
|
|
|
|
|
|
|
</details>
|