configure cspell
This commit is contained in:
36
.cspell.json
Normal file
36
.cspell.json
Normal 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"
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user