// cSpell Settings
{
    "id": "html",
    "name": "html",
    "description": "Html dictionary for cspell.",
    "readonly": true,
    // List of dictionary files to add to the global list of dictionaries
    "dictionaryDefinitions": [
        {
            "name": "html",
            "path": "./html.txt.gz",
            "description": "HTML dictionary for cspell."
        }
    ],
    // Dictionaries to always be used.
    // Generally left empty
    "dictionaries": [],
    // regex patterns than can be used with ignoreRegExpList or includeRegExpList
    // Example: "pattern": [{ "name": "mdash", "pattern": "&mdash;" }]
    // This could be included in "ignoreRegExpList": ["mdash"]
    "patterns": [
        {
            "name": "HTML-id",
            "pattern": "/\\bid=\"[^\"]*\"/gi"
        },
        {
            "name": "HTML-src",
            "pattern": "/\\bsrc=\"[^\"]*\"/gi"
        },
        {
            "name": "HTML-class",
            "pattern": "/\\bclass=\"[^\"]*\"/gi"
        },
        {
            "name": "HTML-IDREF-aria-activedescendant",
            "pattern": "/\\baria-activedescendant=\"[^\"]*\"/gi"
        },
        {
            "name": "HTML-IDREF-aria-controls",
            "pattern": "/\\baria-controls=\"[^\"]*\"/gi"
        },
        {
            "name": "HTML-IDREF-aria-describedby",
            "pattern": "/\\baria-describedby=\"[^\"]*\"/gi"
        },
        {
            "name": "HTML-IDREF-aria-details",
            "pattern": "/\\baria-details=\"[^\"]*\"/gi"
        },
        {
            "name": "HTML-IDREF-aria-errormessage",
            "pattern": "/\\baria-errormessage=\"[^\"]*\"/gi"
        },
        {
            "name": "HTML-IDREF-aria-flowto",
            "pattern": "/\\baria-flowto=\"[^\"]*\"/gi"
        },
        {
            "name": "HTML-IDREF-aria-labelledby",
            "pattern": "/\\baria-labelledby=\"[^\"]*\"/gi"
        },
        {
            "name": "HTML-IDREF-aria-owns",
            "pattern": "/\\baria-owns=\"[^\"]*\"/gi"
        },
        {
            "name": "HTML-IDREF-for",
            "pattern": "/\\bfor=\"[^\"]*\"/gi"
        }
    ],
    // 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": "html",
            // 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.
            "locale": "*",
            // 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": [
                "href",
                "HTML-id",
                "HTML-src",
                "HTML-class",
                "HTML-IDREF-aria-activedescendant",
                "HTML-IDREF-aria-controls",
                "HTML-IDREF-aria-describedby",
                "HTML-IDREF-aria-details",
                "HTML-IDREF-aria-errormessage",
                "HTML-IDREF-aria-flowto",
                "HTML-IDREF-aria-labelledby",
                "HTML-IDREF-aria-owns",
                "HTML-IDREF-for"
            ],
            // List of dictionaries to enable by name in `dictionaryDefinitions`
            "dictionaries": ["html"],
            // Dictionary definitions can also be supplied here. They are only used iff "languageId" and "locale" match.
            "dictionaryDefinitions": []
        }
    ]
}
