mirror of
https://github.com/microsoft/PowerToys.git
synced 2024-12-18 21:48:12 +08:00
26 lines
1.2 KiB
Markdown
26 lines
1.2 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 :exploding_head: 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>
|