mirror of
https://github.com/microsoft/PowerToys.git
synced 2024-12-13 11:09:28 +08:00
26 lines
1.1 KiB
Markdown
26 lines
1.1 KiB
Markdown
<!-- See https://github.com/check-spelling/check-spelling/wiki/Configuration-Examples%3A-advice --> <!-- markdownlint-disable MD033 MD041 -->
|
|
<details><summary>If the flagged items are false positives</summary>
|
|
|
|
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.
|
|
|
|
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.
|
|
|
|
Patterns are Perl 5 Regular Expressions - you can [test](
|
|
https://www.regexplanet.com/advanced/perl/) yours before committing to verify it will match your lines.
|
|
|
|
Note that patterns can't match multiline strings.
|
|
|
|
</details>
|