configure cspell

This commit is contained in:
David Eisinger
2024-11-18 14:04:14 -05:00
parent b3aca51878
commit 30b51f94b0
2 changed files with 189 additions and 0 deletions

36
.cspell.json Normal file
View File

@@ -0,0 +1,36 @@
{
"$schema": "https://raw.githubusercontent.com/streetsidesoftware/cspell/main/cspell.schema.json",
"version": "0.2",
"dictionaryDefinitions": [
{
"name": "exceptions",
"path": ".dictionary",
"addWords": true
}
],
"dictionaries": [
"english",
"ruby",
"golang",
"exceptions"
],
"patterns": [
{
"name": "frontmatter",
"pattern": "/^(-{3}|[+]{3})$(\\s|\\S)*?^\\1$/gm"
},
{
"name": "proper_nouns",
"pattern": "/(^|\\s|\\[|_|\\(|\"|\/|\\*)[A-Z][\\S]*/g"
}
],
"languageSettings": [
{
"languageId": "markdown",
"ignoreRegExpList": [
"frontmatter",
"proper_nouns"
]
}
]
}