jfmengels/elm-review-documentation

Docs.ReviewLinksAndSections should suggest what seems closest

Open

#14 opened on Sep 25, 2021

View on GitHub
 (0 comments) (1 reaction) (0 assignees)Elm (2 forks)github user discovery
enhancementhelp wanted

Repository metrics

Stars
 (8 stars)
PR merge metrics
 (No merged PRs in 30d)

Description

When the rule reports links to unknown things, I think it would be valuable if the rule suggested what is closest to it (using something like the Levenshtein distance).

For an unknown module, suggest the module name with the name that comes closest. For an unknown section, suggest the section from the same module with the name that comes closest.

Contributor guide