From 8f12ba066911d976946465ea69d3d23302fd4fab Mon Sep 17 00:00:00 2001 From: duanmengkk Date: Fri, 18 Oct 2024 10:47:09 +0800 Subject: [PATCH] add typos config Signed-off-by: duanmengkk --- typos.toml | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 typos.toml diff --git a/typos.toml b/typos.toml new file mode 100644 index 00000000..4446d1ad --- /dev/null +++ b/typos.toml @@ -0,0 +1,17 @@ +# This is the custom config file used by `typos` command and `crate-ci/typos@master` action to do source code spelling correction. +# Sometimes, what looks like a typo is intentional, like with people's names, acronyms, or localized content. +# To mark a word or an identifier (grouping of words) as valid, add it to this file by declaring itself as the valid spelling. +# See https://github.com/crate-ci/typos/blob/master/docs/reference.md for more info to configure typos. +[files] +extend-exclude = [ + "*.svg", + "*.drawio", + "src/**", + "static/**", + "node_modules/**" +] +[default.extend-words] +BA = "BA" +Ded = "Ded" +EDE = "EDE" +intoto = "intoto"