From dc9bc151a36b196201de87fd057c7306ff6341c2 Mon Sep 17 00:00:00 2001 From: Taiki Endo Date: Mon, 3 Feb 2025 07:27:19 +0900 Subject: [PATCH] Update .cspell.json --- .cspell.json | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/.cspell.json b/.cspell.json index 5d322855..860713a6 100644 --- a/.cspell.json +++ b/.cspell.json @@ -27,24 +27,25 @@ "ignoreRegExpList": [ // Copyright notice "Copyright .*", + "SPDX-(File|Snippet)CopyrightText: .*", // GHA actions/workflows - "uses: .+@", + "uses: .+@[\\w_.-]+", // GHA context (repo name, owner name, etc.) - "github.\\w+ (=|!)= '.+'", + "github.[\\w_.-]+ (=|!)= '[^']+'", // GH username "( |\\[)@[\\w_-]+", // Git config username - "git config user.name .*", - // Username in todo comment + "git config( --[^ ]+)? user.name .*", + // Username in TODO|FIXME comment "(TODO|FIXME)\\([\\w_., -]+\\)", // Cargo.toml authors - "authors *= *\\[.*\\]", - "\".* <[\\w_.+-]+@[\\w.-]+>\"" + "authors *= *\\[[^\\]]*\\]", + "\"[^\"]* <[\\w_.+-]+@[\\w.-]+>\"" ], "languageSettings": [ { "languageId": ["*"], - "dictionaries": ["bash", "rust"] + "dictionaries": ["bash", "cpp-refined", "rust"] } ], "ignorePaths": []