Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I'm a fan of using code formatters to define how you lay out code in a file.

Prettier is popular for that job:

https://prettier.io/

For detecting functional/idiomatic/behavioral issues, ESLint is my go-to:

https://eslint.org/

This shows my bias for automation over human enforcement.



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

Search: