@storm-software/cspell
Version:
A package containing CSpell keyword dictionaries and shared configurations for Storm Software.
173 lines (172 loc) • 4.33 kB
JSON
{
"version": "0.2",
"description": "Base CSpell configuration used by Storm Software.",
"language": "en",
"enabled": true,
"caseSensitive": false,
"enabledLanguageIds": [
"typescript",
"javascript",
"typescriptreact",
"javascriptreact",
"mdx",
"rust",
"json",
"jsonc",
"yaml",
"css",
"html",
"markdown"
],
"maxNumberOfProblems": 10000,
"dictionaries": [
"storm",
"en_us",
"softwareTerms",
"filetypes",
"fonts",
"node",
"npm",
"sql",
"rust",
"fullstack",
"fonts",
"css",
"html",
"html-symbol-entities",
"markdown"
],
"flagWords": [],
"useGitignore": true,
"ignoreRegExpList": ["GHSA-[-\\w]+"],
"overrides": [
{
"filename": "**/CHANGELOG*.md",
"ignoreRegExpList": ["@[-\\w]+"]
},
{
"filename": "'**/*.md*",
"ignoreRegExpList": ["\\]\\([^)]+\\)"]
}
],
"patterns": [
{
"name": "HTML-symbol-entity",
"description": "Matches on HTML symbols like `♣`",
"pattern": "/&[a-z]+;/g"
},
{
"name": "MARKDOWN-link-reference",
"description": "Markdown reference link: `[This is a link][reference]`, matches `[reference]`",
"pattern": "/(?<=])[[-w.`'\"*&;#@ ]+]/g"
},
{
"name": "MARKDOWN-link-footer",
"description": "Markdown referenced link: `[reference]: https://www.google.com`, matches the entire reference.",
"pattern": "/[[-w.`'\"*&;#@ ]+]:( [^s]*)?/g"
},
{
"name": "MARKDOWN-link",
"description": "Markdown link: `[link text](link)`, matches `link`",
"pattern": "/(?<=]()[^)s]+/g"
},
{
"name": "MARKDOWN-anchor",
"description": "Markdown Anchors: `<a id=\"my_link\"></a>`, matches `my_link`",
"pattern": "/(?<=<as+id=\")[^\"s]+/g"
}
],
"languageSettings": [
{
"languageId": "javascript,javascriptreact",
"dictionaries": ["storm", "typescript", "node", "npm"]
},
{
"languageId": "typescript,typescriptreact,mdx",
"dictionaries": ["storm", "typescript", "node", "npm", "softwareTerms"]
},
{
"languageId": "json,jsonc,yaml",
"dictionaries": ["storm", "softwareTerms", "public-licenses"]
},
{
"languageId": "json,jsonc",
"dictionaries": ["storm", "node", "npm"]
},
{
"languageId": "javascriptreact,typescriptreact,mdx",
"dictionaries": ["storm", "html", "html-symbol-entities", "css", "fonts"]
},
{
"languageId": "markdown,asciidoc",
"dictionaries": ["storm", "npm", "html", "html-symbol-entities"]
},
{
"languageId": "html",
"dictionaries": [
"storm",
"html",
"fonts",
"typescript",
"css",
"npm",
"html-symbol-entities"
]
},
{
"languageId": "css,less,scss",
"dictionaries": ["storm", "fonts", "css"]
},
{
"languageId": "map",
"enabled": false
},
{
"languageId": "image",
"enabled": false
},
{
"languageId": "binary",
"enabled": false
},
{
"languageId": "markdown,html,mdx",
"ignoreRegExpList": ["HTML-symbol-entity", "public-licenses"]
},
{
"languageId": "html",
"ignoreRegExpList": ["href"]
},
{
"languageId": "markdown,mdx",
"ignoreRegExpList": ["markdown"]
},
{
"languageId": "markdown",
"ignoreRegExpList": [
"MARKDOWN-link-reference",
"MARKDOWN-link-footer",
"MARKDOWN-link",
"MARKDOWN-anchor"
]
}
],
"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"
]
}