opendataphilly / opendataphilly-jkan

OpenDataPhilly powered by JKAN
https://opendataphilly.org/
MIT License
14 stars 11 forks source link

Enable Spell check in megalinter #138

Open BryanQuigley opened 3 months ago

adamdmharvey commented 3 months ago

Happy to grab this one. One of the challenges is all of the city names, maintainer names, etc, so the resulting custom dictionary file for CSpell gets quite large. It'll self generate a dictionary, but future additions of new datasets may have some additional friction as valid terms in the YAML front matter metadata will need to be potentially added.

Perhaps step one as adding it but not linting the datasets/ dir, and then a second round to tackle that?

BryanQuigley commented 3 months ago

Starting small makes sense to me. My better lint script just has it check the changes done and not everything - will try to dig that up.

This might also be something that we should push to upstream

nvuillam commented 2 months ago

If it can help, MegaLinter generates an updated cspell.json in artefacts, with missing words, so you can copy paste it into your repo, then verify if the added words are really added words or mistakes to correct :)