Skip to content

Configuration Examples: advice

Josh Soref edited this page Feb 27, 2024 · 10 revisions

advice Examples

Advice is a file that is inserted raw into GitHub comments (or potentially in the log if the commit results in stale expect items and no unexpected items).

Here are some examples:

<details><summary>If you see a bunch of garbage and it relates to a binary-ish string</summary>

Please add a file path to the `excludes.txt` file instead of just accepting the garbage.

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](https://github.com/check-spelling-bot/example/blob/master/README.md) (on whichever branch you're using).
</details>

Advice about garbage

advice.md

As of v0.0.18, the file can be named advice.md instead of advice.txt.

Clone this wiki locally