// cSpell Settings
{
    "id": "typescript",
    "name": "TypeScript",
    "description": "TypeScript and JavaScript dictionary for cspell.",
    // List of dictionary files to add to the global list of dictionaries
    "dictionaryDefinitions": [
        {
            "name": "typescript",
            "file": "./typescript.txt.gz",
            "description": "TypeScript and JavaScript dictionary for cspell."
        }
    ],
    // Dictionaries to always be used.
    // Generally left empty
    "dictionaries": [],
    // Patterns
    "patterns": [
        {
            "name": "js-hex-escape",
            "pattern": "/\\\\x[a-f0-9]{2}/gi",
            "description": "Javascript String Hexadecimal Escape sequence."
        },
        {
            "name": "js-unicode-escape",
            "pattern": "/\\\\u[a-f0-9]{4}/gi",
            "description": "Javascript String Unicode Escape sequence."
        }
    ],
    // Language Rules to apply to matching files.
    // Files are matched on `languageId` and `local`
    "languageSettings": [
        {
            // VSCode languageId. i.e. typescript, java, go, cpp, javascript, markdown, latex
            // * will match against any file type.
            "languageId": "typescript,javascript,typescriptreact,javascriptreact",
            // Language local. i.e. en-US, de-AT, or ru. * will match all locals.
            // Multiple locals can be specified like: "en, en-US" to match both English and English US.
            "local": "*",
            // By default the whole text of a file is included for spell checking
            // Adding patterns to the "includeRegExpList" to only include matching patterns
            "includeRegExpList": [],
            // To exclude patterns, add them to "ignoreRegExpList"
            "ignoreRegExpList": ["js-hex-escape", "js-unicode-escape"],
            // regex patterns than can be used with ignoreRegExpList or includeRegExpList
            // Example: "pattern": [{ "name": "mdash", "pattern": "&mdash;" }]
            // This could be included in "ignoreRegExpList": ["mdash"]
            "patterns": [],
            // List of dictionaries to enable by name in `dictionaryDefinitions`
            "dictionaries": ["typescript"],
            // Dictionary definitions can also be supplied here. They are only used iff "languageId" and "local" match.
            "dictionaryDefinitions": []
        }
    ]
}
