streetsidesoftware / cspell

A Spell Checker for Code!

Home Page:https://cspell.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Issue: caching does not work with remote dictionaries.

Jason3S opened this issue · comments

Using a remote dictionary gives an error when caching is turned on.

cspell.json

{
    "dictionaryDefinitions": [
        {
            "name": "cities-remote",
            "path": "https://github.com/streetsidesoftware/cspell/raw/main/packages/cspell-io/samples/cities.txt",
            "type": "W"
        }
    ],
    "dictionaries": ["cities-remote"],
    "overrides": [
        {
            "filename": "**/test.txt",
            "language": "unknown"
        }
    ]
}
$ cspell . --no-progress
CSpell: Files checked: 3, Issues found: 0 in 0 files

$ cspell . --no-progress --cache
Linter Error: Dependency must be absolute "https://github.com/streetsidesoftware/cspell/raw/main/packages/cspell-io/samples/cities.txt"
CSpell: Files checked: 0, Issues found: 0 in 0 files