mirror of
https://github.com/taiki-e/install-action.git
synced 2026-04-08 18:05:42 +08:00
Add spell-check to CI
This commit is contained in:
49
.cspell.json
Normal file
49
.cspell.json
Normal file
@@ -0,0 +1,49 @@
|
||||
{
|
||||
"version": "0.2",
|
||||
"gitignoreRoot": ".",
|
||||
"useGitignore": true,
|
||||
"dictionaryDefinitions": [
|
||||
{
|
||||
"name": "organization-dictionary",
|
||||
"path": "./.github/.cspell/organization-dictionary.txt",
|
||||
"addWords": true
|
||||
},
|
||||
{
|
||||
"name": "project-dictionary",
|
||||
"path": "./.github/.cspell/project-dictionary.txt",
|
||||
"addWords": true
|
||||
},
|
||||
{
|
||||
"name": "rust-dependencies",
|
||||
"path": "./.github/.cspell/rust-dependencies.txt",
|
||||
"addWords": true
|
||||
}
|
||||
],
|
||||
"dictionaries": [
|
||||
"organization-dictionary",
|
||||
"project-dictionary",
|
||||
"rust-dependencies"
|
||||
],
|
||||
"ignoreRegExpList": [
|
||||
// Copyright notice
|
||||
"Copyright ((\\(c\\)|\\(C\\)|©) )?.*",
|
||||
// GHA actions/workflows
|
||||
"uses: .+@",
|
||||
// GHA context (repo name, owner name, etc.)
|
||||
"github.\\w+ (=|!)= '.+'",
|
||||
// GH username
|
||||
"( |\\[)@[\\w_-]+",
|
||||
// Git config username
|
||||
"git config user.name .*",
|
||||
// Cargo.toml authors
|
||||
"authors *= *\\[.*\\]",
|
||||
"\".* <[\\w_.+-]+@[\\w.-]+>\""
|
||||
],
|
||||
"languageSettings": [
|
||||
{
|
||||
"languageId": ["*"],
|
||||
"dictionaries": ["rust"]
|
||||
}
|
||||
],
|
||||
"ignorePaths": []
|
||||
}
|
||||
Reference in New Issue
Block a user