@storm-software/cspell
Version:
A package containing CSpell keyword dictionaries and shared configurations for Storm Software.
100 lines (99 loc) • 2.75 kB
JSON
{
"version": "0.2",
"description": "Base CSpell configuration used by Storm Software.",
"language": "en",
"caseSensitive": false,
"dictionaries": [
"storm",
"en_us",
"softwareTerms",
"filetypes",
"node",
"npm",
"fullstack",
"markdown"
],
"flagWords": [],
"useGitignore": true,
"ignoreRegExpList": [
"GHSA-[-\\w]+",
"Markdown links",
"Markdown code blocks",
"Inline code blocks",
"Link contents",
"Snippet references",
"Snippet references 2",
"Multi-line code blocks",
"HTML Tags"
],
"ignorePaths": [],
"overrides": [
{
"filename": "**/CHANGELOG*.md",
"ignoreRegExpList": ["@[-\\w]+"]
},
{
"filename": "'**/*.md*",
"ignoreRegExpList": ["\\]\\([^)]+\\)"]
}
],
"patterns": [
{
"name": "Markdown links",
"pattern": "\\((.*)\\)",
"description": ""
},
{
"name": "Markdown code blocks",
"pattern": "/^(\\s*`{3,}).*[\\s\\S]*?^\\1/gmx",
"description": "Taken from the cSpell example at https://cspell.org/configuration/patterns/#verbose-regular-expressions"
},
{
"name": "Inline code blocks",
"pattern": "\\`([^\\`\\r\\n]+?)\\`",
"description": "https://stackoverflow.com/questions/41274241/how-to-capture-inline-markdown-code-but-not-a-markdown-code-fence-with-regex"
},
{
"name": "Link contents",
"pattern": "\\<a(.*)\\>",
"description": ""
},
{
"name": "Snippet references",
"pattern": "-- snippet:(.*)",
"description": ""
},
{
"name": "Snippet references 2",
"pattern": "\\<\\[sample:(.*)",
"description": "another kind of snippet reference"
},
{
"name": "Multi-line code blocks",
"pattern": "/^\\s*```[\\s\\S]*?^\\s*```/gm"
},
{
"name": "HTML Tags",
"pattern": "<[^>]*>",
"description": "Reference: https://stackoverflow.com/questions/11229831/regular-expression-to-remove-html-tags-from-a-string"
}
],
"import": [
"./cspell-ext.json",
"@cspell/dict-css/cspell-ext.json",
"@cspell/dict-en_us/cspell-ext.json",
"@cspell/dict-filetypes/cspell-ext.json",
"@cspell/dict-fullstack/cspell-ext.json",
"@cspell/dict-html-symbol-entities/cspell-ext.json",
"@cspell/dict-html/cspell-ext.json",
"@cspell/dict-fonts/cspell-ext.json",
"@cspell/dict-lorem-ipsum/cspell-ext.json",
"@cspell/dict-markdown/cspell-ext.json",
"@cspell/dict-node/cspell-ext.json",
"@cspell/dict-npm/cspell-ext.json",
"@cspell/dict-rust/cspell-ext.json",
"@cspell/dict-sql/cspell-ext.json",
"@cspell/dict-software-terms/cspell-ext.json",
"@cspell/dict-typescript/cspell-ext.json"
]
}