Closed MikeMcC399 closed 2 years ago
If the Open Source Team agrees to remove markdown-spellcheck from this repository, I am happy to submit a PR to implement the change.
I accidently submitted this issue as a bug. Please adjust the labels accordingly. My apologies!
@MikeMcC399 thank you for bringing this up and offering to submit a PR to implement the change. We would greatly appreciate a PR for this!
Corona-Warn-App Open Source Team
@larswmh
Thank you for the confirmation! I have submitted:
to resolve this issue
Problem description
The
npm
package markdown-spellcheck is involved in Dependabot alerts:* Note that interdependencies affect the final outcome of the latest possible version possible. Use for example
npm ls async
to check.Background
The
cwa-documentation
repository uses thenpm
package markdown-spellcheck version 1.3.1. This is the latest available version and it was published 5 years ago.Although the Development on documentation instructions refer to spell-checking in the course of document submission, in practice the .spelling dictionary has not been updated for the last two years and is de-facto unmaintained. If
npm run spellcheck
is now run it produces an error message242 spelling errors found in 15 files
.markdown-spellcheck is not capable of spell-checking in German.
Steps to reproduce the issue
npm run spellcheck
Expected behavior
Possible Fix
markdown-spellcheck
has not been used for the last two years and nobody is maintaining the spelling dictionary. The package itself is 5 years old with very low likelihood of a new release. In the workflow .github/workflows/checks.yml spell-checking is already disabled.To resolve, I suggest:
markdown-spellcheck
from repository.Documentation submitters can use alternative spell checkers in future such as Spell Right for Visual Studio Code which can spell check in English and German.