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

I would not classify Airbnb's linting rules as good in ANY metric for server side code. It has rules designed for frontend, and then people go and use those settings for NodeJS...


Can you expand on this? Why would linting rules, which are almost always strictly about formatting, impact server vs. frontend performance?


One example is they disallow for of loops because they are hard to transpile to es5, but that makes no sense for NodeJS.




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

Search: