contentlayerdev / contentlayerdev/contentlayer

Use Levenshtein distance for better error messages

Đang mở
#20 1 bình luận 0 reaction 0 người được giao Xem trên GitHub
improvement meta: never-stale pkg/source-files
Ngôn ngữ chính
TypeScript
Star
3.5k
Fork
192
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

In some error messages (e.g. for missing required fields) we should make use of the [Levenshtein distance](https://en.wikipedia.org/wiki/Levenshtein_distance) to suggest similar field names in case of typos.

image

image

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.