contentlayerdev / contentlayer

Contentlayer turns your content into data - making it super easy to import MD(X) and CMS content in your app
https://www.contentlayer.dev
MIT License
3.32k stars 201 forks source link

Use Levenshtein distance for better error messages #20

Open schickling opened 3 years ago

schickling commented 3 years ago

In some error messages (e.g. for missing required fields) we should make use of the Levenshtein distance to suggest similar field names in case of typos.

image image
stale[bot] commented 2 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.