cspell-action icon indicating copy to clipboard operation
cspell-action copied to clipboard

Validate cspell.json

Open Kurt-von-Laven opened this issue 4 years ago • 4 comments

If one were to say... misspell the name of a dictionary... there would presently be no immediate indication they had done so (other than the universe itself abruptly imploding from the sheer irony of it all, of course).

Kurt-von-Laven avatar May 29 '21 10:05 Kurt-von-Laven

A workaround is to run npx cspell "*". It will report on any issues.

Jason3S avatar Jun 02 '21 12:06 Jason3S

That is helpful to know. I'm not sure whether it's worth the performance hit to us specifically since I can probably usually remember to click through and inspect the action.

Kurt-von-Laven avatar Jun 02 '21 19:06 Kurt-von-Laven

Ahh, now I understand. You want it to report that the cspell.json file is not valid during the ci/cd steps.

I think that might be the same as #187.

Jason3S avatar Jun 02 '21 19:06 Jason3S

Sorry for the vague bug reports. I think this may be a separate issue, but I could certainly believe that a single change to the action would address both. Misspelling the name of a dictionary doesn't generate any kind of warning or error even if you click through to view the action output. The other issue (#187) is that even when a warning or error is generated, it doesn't fail the build.

Kurt-von-Laven avatar Jun 02 '21 21:06 Kurt-von-Laven