Open duncanbeevers opened 3 years ago
This would be perfect! +1 for this idea. I'm already using cspell in a ton of my repositories.
Do you mean to read the dictionaries? or the skipWords? I'm not familiar with cspell will check it out.
Yeah; it includes a couple of pieces of config. A config I'm using at $job looks similar to this (except with a lot more words)
{
"version": "0.1",
"language": "en",
"ignoreRegExpList": ["/@ts-expect-error.*/"],
"words": [
"backgrounded",
"bitrates",
"Chromecast"
],
"ignoreWords": [
"alac",
"alexa",
"alphabar",
"armv"
]
}
It would be nice if we simply supported ignoreWords
and words
. Everything else is less useful.
It should be possible to configure the plugin to read the words lists from cspell config
This would enable a unified workflow for flagging spelling errors as part of the eslint pass rather than requiring a separate traversal of the filesystem with the cspell tool itself.