From 7d1fbe5442443ff6313f30c80c0d48b43ec34610 Mon Sep 17 00:00:00 2001 From: Ed Page Date: Fri, 28 May 2021 18:42:09 -0500 Subject: [PATCH] docs: Missed a false-positive case --- README.md | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 926044d..5c65e21 100644 --- a/README.md +++ b/README.md @@ -66,7 +66,15 @@ AttributeIDSupressMenu = "AttributeIDSupressMenu" teh = "teh" ``` -For localized content, you might want to exclude the entire file +For localized content, you can disable spell checking of file contents while still checking the file name: +```toml +[type.po] +extend-globs = ["*.po"] +check-file = false +``` +(run `typos --type-list` to see configured file types) + +If that doesn't catch the cases you can need, you can completely exclude some files from consideration: ```toml [files] extend-exclude = ["localized/*.po"]