Hacker News new | past | comments | ask | show | jobs | submit login




TIL that types should be listed first in the export map thanks to that tool. I don't think it bothered anyone consuming my packages, but better be spec compliant and update them all. Thanks for sharing!

https://publint.dev/rules#exports_types_should_be_first


Also attw [1]. I run both tools in CI to ensure package correctness.

[1] https://github.com/arethetypeswrong/arethetypeswrong.github....




Consider applying for YC's Spring batch! Applications are open till Feb 11.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: