torrust-tracker icon indicating copy to clipboard operation
torrust-tracker copied to clipboard

Extract project dictionary from `cSpell.json` config file

Open josecelano opened this issue 7 months ago • 0 comments

Instead of adding an accepted word in the cSpell.json config file, use an independent dictionary like in the Index.

https://github.com/torrust/torrust-index/blob/develop/cspell.json

{
  "$schema": "https://raw.githubusercontent.com/streetsidesoftware/cspell/main/cspell.schema.json",
  "version": "0.2",
  "dictionaryDefinitions": [
    {
      "name": "project-words",
      "path": "./project-words.txt",
      "addWords": true
    }
  ],
  "dictionaries": ["project-words"],
  "ignorePaths": ["target", "/project-words.txt"]
}

josecelano avatar Apr 28 '25 15:04 josecelano