From e7ed6e87f8e03ed60c7cb58c8c7d8fa9304bddfe Mon Sep 17 00:00:00 2001 From: Albin Larsson <515120+friday@users.noreply.github.com> Date: Thu, 19 Dec 2024 23:19:10 +0100 Subject: [PATCH] docs: add linkable header to example configurations --- docs/reference.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docs/reference.md b/docs/reference.md index 4227c65..e5f100b 100644 --- a/docs/reference.md +++ b/docs/reference.md @@ -39,6 +39,8 @@ Configuration is read from the following (in precedence order) | type.\.\ | \ | \ | \ | See `default.` for child keys. Run with `--type-list` to see available ``s. | | type.\.extend-glob | \- | list of strings | \- | File globs for matching ``. | +### Example configurations + Common `extend-ignore-re`: - Line ignore with trailing `# spellchecker:disable-line`: `"(?Rm)^.*(#|//)\\s*spellchecker:disable-line$"` - Line block with `# spellchecker:`: `"(?s)(#|//)\\s*spellchecker:off.*?\\n\\s*(#|//)\\s*spellchecker:on"`